OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Clock
(Results
51 - 75
of
246
) sorted by null
1
2
3
4
5
6
7
8
9
10
/external/libcxx/test/std/thread/thread.condition/
notify_all_at_thread_exit.pass.cpp
31
typedef std::chrono::high_resolution_clock
Clock
;
44
Clock
::time_point t0 =
Clock
::now();
46
Clock
::time_point t1 =
Clock
::now();
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/
adopt_lock.pass.cpp
25
typedef std::chrono::system_clock
Clock
;
26
typedef
Clock
::time_point time_point;
27
typedef
Clock
::duration duration;
33
time_point t0 =
Clock
::now();
38
t1 =
Clock
::now();
mutex.pass.cpp
30
typedef std::chrono::system_clock
Clock
;
31
typedef
Clock
::time_point time_point;
32
typedef
Clock
::duration duration;
38
time_point t0 =
Clock
::now();
42
t1 =
Clock
::now();
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
mutex_try_to_lock.pass.cpp
27
typedef std::chrono::system_clock
Clock
;
28
typedef
Clock
::time_point time_point;
29
typedef
Clock
::duration duration;
35
time_point t0 =
Clock
::now();
54
time_point t1 =
Clock
::now();
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
mutex.pass.cpp
30
typedef std::chrono::system_clock
Clock
;
31
typedef
Clock
::time_point time_point;
32
typedef
Clock
::duration duration;
38
time_point t0 =
Clock
::now();
42
t1 =
Clock
::now();
mutex_duration.pass.cpp
28
typedef std::chrono::steady_clock
Clock
;
29
typedef
Clock
::time_point time_point;
30
typedef
Clock
::duration duration;
36
time_point t0 =
Clock
::now();
39
time_point t1 =
Clock
::now();
46
time_point t0 =
Clock
::now();
49
time_point t1 =
Clock
::now();
mutex_time_point.pass.cpp
18
// template <class
Clock
, class Duration>
19
// unique_lock(mutex_type& m, const chrono::time_point<
Clock
, Duration>& abs_time);
28
typedef std::chrono::steady_clock
Clock
;
29
typedef
Clock
::time_point time_point;
30
typedef
Clock
::duration duration;
36
time_point t0 =
Clock
::now();
37
std::unique_lock<std::timed_mutex> lk(m,
Clock
::now() + ms(300));
39
time_point t1 =
Clock
::now();
46
time_point t0 =
Clock
::now();
47
std::unique_lock<std::timed_mutex> lk(m,
Clock
::now() + ms(250))
[
all
...]
mutex_try_to_lock.pass.cpp
25
typedef std::chrono::system_clock
Clock
;
26
typedef
Clock
::time_point time_point;
27
typedef
Clock
::duration duration;
33
time_point t0 =
Clock
::now();
52
time_point t1 =
Clock
::now();
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
lock.pass.cpp
27
typedef std::chrono::system_clock
Clock
;
28
typedef
Clock
::time_point time_point;
29
typedef
Clock
::duration duration;
36
time_point t0 =
Clock
::now();
38
time_point t1 =
Clock
::now();
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
lock.pass.cpp
27
typedef std::chrono::system_clock
Clock
;
28
typedef
Clock
::time_point time_point;
29
typedef
Clock
::duration duration;
35
time_point t0 =
Clock
::now();
37
time_point t1 =
Clock
::now();
try_lock.pass.cpp
25
typedef std::chrono::system_clock
Clock
;
26
typedef
Clock
::time_point time_point;
27
typedef
Clock
::duration duration;
33
time_point t0 =
Clock
::now();
39
time_point t1 =
Clock
::now();
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
lock.pass.cpp
27
typedef std::chrono::system_clock
Clock
;
28
typedef
Clock
::time_point time_point;
29
typedef
Clock
::duration duration;
35
time_point t0 =
Clock
::now();
37
time_point t1 =
Clock
::now();
try_lock.pass.cpp
25
typedef std::chrono::system_clock
Clock
;
26
typedef
Clock
::time_point time_point;
27
typedef
Clock
::duration duration;
33
time_point t0 =
Clock
::now();
39
time_point t1 =
Clock
::now();
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
try_lock.pass.cpp
26
typedef std::chrono::system_clock
Clock
;
27
typedef
Clock
::time_point time_point;
28
typedef
Clock
::duration duration;
34
time_point t0 =
Clock
::now();
40
time_point t1 =
Clock
::now();
try_lock_shared.pass.cpp
29
typedef std::chrono::system_clock
Clock
;
30
typedef
Clock
::time_point time_point;
31
typedef
Clock
::duration duration;
37
time_point t0 =
Clock
::now();
43
time_point t1 =
Clock
::now();
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
try_lock.pass.cpp
26
typedef std::chrono::system_clock
Clock
;
27
typedef
Clock
::time_point time_point;
28
typedef
Clock
::duration duration;
34
time_point t0 =
Clock
::now();
40
time_point t1 =
Clock
::now();
try_lock_until_deadlock_bug.pass.cpp
53
typedef std::chrono::steady_clock
Clock
;
61
auto end_point =
Clock
::now() + std::chrono::seconds(10);
62
while (readers_finished != total_readers &&
Clock
::now() < end_point) {
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
lock.pass.cpp
27
typedef std::chrono::system_clock
Clock
;
28
typedef
Clock
::time_point time_point;
29
typedef
Clock
::duration duration;
35
time_point t0 =
Clock
::now();
37
time_point t1 =
Clock
::now();
try_lock.pass.cpp
25
typedef std::chrono::system_clock
Clock
;
26
typedef
Clock
::time_point time_point;
27
typedef
Clock
::duration duration;
33
time_point t0 =
Clock
::now();
39
time_point t1 =
Clock
::now();
try_lock_for.pass.cpp
26
typedef std::chrono::steady_clock
Clock
;
27
typedef
Clock
::time_point time_point;
28
typedef
Clock
::duration duration;
34
time_point t0 =
Clock
::now();
36
time_point t1 =
Clock
::now();
44
time_point t0 =
Clock
::now();
46
time_point t1 =
Clock
::now();
try_lock_until.pass.cpp
16
// template <class
Clock
, class Duration>
17
// bool try_lock_until(const chrono::time_point<
Clock
, Duration>& abs_time);
26
typedef std::chrono::steady_clock
Clock
;
27
typedef
Clock
::time_point time_point;
28
typedef
Clock
::duration duration;
34
time_point t0 =
Clock
::now();
35
assert(m.try_lock_until(
Clock
::now() + ms(300)) == true);
36
time_point t1 =
Clock
::now();
44
time_point t0 =
Clock
::now();
45
assert(m.try_lock_until(
Clock
::now() + ms(250)) == false)
[
all
...]
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
lock.pass.cpp
27
typedef std::chrono::system_clock
Clock
;
28
typedef
Clock
::time_point time_point;
29
typedef
Clock
::duration duration;
35
time_point t0 =
Clock
::now();
37
time_point t1 =
Clock
::now();
try_lock.pass.cpp
25
typedef std::chrono::system_clock
Clock
;
26
typedef
Clock
::time_point time_point;
27
typedef
Clock
::duration duration;
33
time_point t0 =
Clock
::now();
39
time_point t1 =
Clock
::now();
try_lock_for.pass.cpp
26
typedef std::chrono::steady_clock
Clock
;
27
typedef
Clock
::time_point time_point;
28
typedef
Clock
::duration duration;
34
time_point t0 =
Clock
::now();
36
time_point t1 =
Clock
::now();
46
time_point t0 =
Clock
::now();
48
time_point t1 =
Clock
::now();
try_lock_until.pass.cpp
16
// template <class
Clock
, class Duration>
17
// bool try_lock_until(const chrono::time_point<
Clock
, Duration>& abs_time);
26
typedef std::chrono::steady_clock
Clock
;
27
typedef
Clock
::time_point time_point;
28
typedef
Clock
::duration duration;
34
time_point t0 =
Clock
::now();
35
assert(m.try_lock_until(
Clock
::now() + ms(300)) == true);
36
time_point t1 =
Clock
::now();
46
time_point t0 =
Clock
::now();
47
assert(m.try_lock_until(
Clock
::now() + ms(250)) == false)
[
all
...]
Completed in 926 milliseconds
1
2
3
4
5
6
7
8
9
10