OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ms
(Results
51 - 75
of
558
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
mutex.pass.cpp
33
typedef std::chrono::milliseconds
ms
;
typedef
44
ns d = t1 - t0 -
ms
(250);
45
assert(d <
ms
(50)); // within 50
ms
52
std::this_thread::sleep_for(
ms
(250));
mutex_duration.pass.cpp
31
typedef std::chrono::milliseconds
ms
;
typedef
37
std::unique_lock<std::timed_mutex> lk(m,
ms
(300));
40
ns d = t1 - t0 -
ms
(250);
41
assert(d <
ms
(50)); // within 50
ms
47
std::unique_lock<std::timed_mutex> lk(m,
ms
(250));
50
ns d = t1 - t0 -
ms
(250);
51
assert(d <
ms
(50)); // within 50
ms
59
std::this_thread::sleep_for(
ms
(250))
[
all
...]
mutex_time_point.pass.cpp
31
typedef std::chrono::milliseconds
ms
;
typedef
37
std::unique_lock<std::timed_mutex> lk(m, Clock::now() +
ms
(300));
40
ns d = t1 - t0 -
ms
(250);
41
assert(d < ns(50000000)); // within 50
ms
47
std::unique_lock<std::timed_mutex> lk(m, Clock::now() +
ms
(250));
50
ns d = t1 - t0 -
ms
(250);
51
assert(d <
ms
(50)); // within 50
ms
59
std::this_thread::sleep_for(
ms
(250));
66
std::this_thread::sleep_for(
ms
(300))
[
all
...]
mutex_try_to_lock.pass.cpp
28
typedef std::chrono::milliseconds
ms
;
typedef
53
ns d = t1 - t0 -
ms
(250);
54
assert(d <
ms
(200)); // within 200
ms
61
std::this_thread::sleep_for(
ms
(250));
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
lock.pass.cpp
30
typedef std::chrono::milliseconds
ms
;
typedef
40
ns d = t1 - t0 -
ms
(250);
41
assert(d <
ms
(25)); // within 25
ms
72
std::this_thread::sleep_for(
ms
(250));
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
lock.pass.cpp
30
typedef std::chrono::milliseconds
ms
;
typedef
39
ns d = t1 - t0 -
ms
(250);
40
assert(d <
ms
(50)); // within 50
ms
47
std::this_thread::sleep_for(
ms
(250));
try_lock.pass.cpp
28
typedef std::chrono::milliseconds
ms
;
typedef
41
ns d = t1 - t0 -
ms
(250);
42
assert(d <
ms
(200)); // within 200
ms
49
std::this_thread::sleep_for(
ms
(250));
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
lock.pass.cpp
30
typedef std::chrono::milliseconds
ms
;
typedef
41
ns d = t1 - t0 -
ms
(250);
42
assert(d <
ms
(200)); // within 200
ms
49
std::this_thread::sleep_for(
ms
(250));
try_lock.pass.cpp
28
typedef std::chrono::milliseconds
ms
;
typedef
43
ns d = t1 - t0 -
ms
(250);
44
assert(d <
ms
(200)); // within 200
ms
51
std::this_thread::sleep_for(
ms
(250));
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
try_lock.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
42
ns d = t1 - t0 -
ms
(250);
43
assert(d <
ms
(200)); // within 200
ms
50
std::this_thread::sleep_for(
ms
(250));
try_lock_shared.pass.cpp
32
typedef std::chrono::milliseconds
ms
;
typedef
45
ns d = t1 - t0 -
ms
(250);
46
assert(d <
ms
(200)); // within 200
ms
56
std::this_thread::sleep_for(
ms
(250));
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
try_lock.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
42
ns d = t1 - t0 -
ms
(250);
43
assert(d <
ms
(200)); // within 200
ms
50
std::this_thread::sleep_for(
ms
(250));
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
lock.pass.cpp
30
typedef std::chrono::milliseconds
ms
;
typedef
39
ns d = t1 - t0 -
ms
(250);
40
assert(d <
ms
(50)); // within 50
ms
47
std::this_thread::sleep_for(
ms
(250));
try_lock.pass.cpp
28
typedef std::chrono::milliseconds
ms
;
typedef
41
ns d = t1 - t0 -
ms
(250);
42
assert(d <
ms
(200)); // within 200
ms
49
std::this_thread::sleep_for(
ms
(250));
try_lock_for.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
35
assert(m.try_lock_for(
ms
(300)) == true);
38
ns d = t1 - t0 -
ms
(250);
39
assert(d <
ms
(50)); // within 50
ms
45
assert(m.try_lock_for(
ms
(250)) == false);
47
ns d = t1 - t0 -
ms
(250);
48
assert(d <
ms
(50)); // within 50
ms
56
std::this_thread::sleep_for(
ms
(250))
[
all
...]
try_lock_until.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
35
assert(m.try_lock_until(Clock::now() +
ms
(300)) == true);
38
ns d = t1 - t0 -
ms
(250);
39
assert(d <
ms
(50)); // within 50
ms
45
assert(m.try_lock_until(Clock::now() +
ms
(250)) == false);
47
ns d = t1 - t0 -
ms
(250);
48
assert(d <
ms
(50)); // within 50
ms
56
std::this_thread::sleep_for(
ms
(250))
[
all
...]
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
lock.pass.cpp
30
typedef std::chrono::milliseconds
ms
;
typedef
41
ns d = t1 - t0 -
ms
(250);
42
assert(d <
ms
(50)); // within 50
ms
49
std::this_thread::sleep_for(
ms
(250));
try_lock.pass.cpp
28
typedef std::chrono::milliseconds
ms
;
typedef
43
ns d = t1 - t0 -
ms
(250);
44
assert(d <
ms
(200)); // within 200
ms
51
std::this_thread::sleep_for(
ms
(250));
try_lock_for.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
35
assert(m.try_lock_for(
ms
(300)) == true);
40
ns d = t1 - t0 -
ms
(250);
41
assert(d < ns(50000000)); // within 50
ms
47
assert(m.try_lock_for(
ms
(250)) == false);
49
ns d = t1 - t0 -
ms
(250);
50
assert(d < ns(50000000)); // within 50
ms
58
std::this_thread::sleep_for(
ms
(250));
65
std::this_thread::sleep_for(
ms
(300));
try_lock_until.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
35
assert(m.try_lock_until(Clock::now() +
ms
(300)) == true);
40
ns d = t1 - t0 -
ms
(250);
41
assert(d <
ms
(50)); // within 50
ms
47
assert(m.try_lock_until(Clock::now() +
ms
(250)) == false);
49
ns d = t1 - t0 -
ms
(250);
50
assert(d <
ms
(50)); // within 50
ms
58
std::this_thread::sleep_for(
ms
(250))
[
all
...]
/tools/dexter/slicer/export/slicer/
chronometer.h
36
std::chrono::duration<double, std::milli>
ms
= end_time - start_time_;
local
38
elapsed_ +=
ms
.count();
40
elapsed_ =
ms
.count();
/external/libcxx/test/libcxx/thread/thread.condition/
PR30202_notify_from_pthread_created_thread.pass.cpp
37
typedef std::chrono::milliseconds
ms
;
typedef
44
std::this_thread::sleep_for(
ms
(300));
61
assert(t1-t0 >
ms
(250));
73
assert(t1-t0 >
ms
(250));
/external/libcxx/test/std/thread/futures/futures.shared_future/
wait.pass.cpp
46
typedef std::chrono::duration<double, std::milli>
ms
;
typedef
59
assert(t1-t0 <
ms
(5));
73
assert(t1-t0 <
ms
(5));
87
assert(t1-t0 <
ms
(5));
wait_for.pass.cpp
24
typedef std::chrono::milliseconds
ms
;
typedef
28
std::this_thread::sleep_for(
ms
(500));
36
std::this_thread::sleep_for(
ms
(500));
43
std::this_thread::sleep_for(
ms
(500));
56
assert(f.wait_for(
ms
(300)) == std::future_status::timeout);
58
assert(f.wait_for(
ms
(300)) == std::future_status::ready);
64
assert(t1-t0 <
ms
(5));
72
assert(f.wait_for(
ms
(300)) == std::future_status::timeout);
74
assert(f.wait_for(
ms
(300)) == std::future_status::ready);
80
assert(t1-t0 <
ms
(5))
[
all
...]
/external/libcxx/test/std/thread/futures/futures.unique_future/
wait.pass.cpp
46
typedef std::chrono::duration<double, std::milli>
ms
;
typedef
59
assert(t1-t0 <
ms
(5));
73
assert(t1-t0 <
ms
(5));
87
assert(t1-t0 <
ms
(5));
Completed in 795 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>