OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Tolerance
(Results
1 - 25
of
58
) sorted by null
1
2
3
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
try_lock_for.pass.cpp
44
ms
Tolerance
= ms(50);
46
ms
Tolerance
= ms(50 * 5);
52
assert(m.try_lock_for(WaitTime +
Tolerance
) == true);
56
assert(d <
Tolerance
); // within
tolerance
65
assert(d <
Tolerance
); // within
tolerance
80
std::this_thread::sleep_for(WaitTime +
Tolerance
);
try_lock_until.pass.cpp
44
ms
Tolerance
= ms(50);
46
ms
Tolerance
= ms(50 * 5);
52
assert(m.try_lock_until(Clock::now() + WaitTime +
Tolerance
) == true);
56
assert(d <
Tolerance
); // within
tolerance
65
assert(d <
Tolerance
); // within
tolerance
80
std::this_thread::sleep_for(WaitTime +
Tolerance
);
try_lock_shared_for.pass.cpp
44
ms
Tolerance
= ms(50);
46
ms
Tolerance
= ms(50 * 5);
52
assert(m.try_lock_shared_for(WaitTime +
Tolerance
) == true);
56
assert(d <
Tolerance
); // within 50ms
65
assert(d <
Tolerance
); // within 50ms
85
std::this_thread::sleep_for(WaitTime +
Tolerance
);
try_lock_shared_until.pass.cpp
44
ms
Tolerance
= ms(50);
46
ms
Tolerance
= ms(50 * 5);
52
assert(m.try_lock_shared_until(Clock::now() + WaitTime +
Tolerance
) == true);
56
assert(d <
Tolerance
); // within 50ms
65
assert(d <
Tolerance
); // within
tolerance
85
std::this_thread::sleep_for(WaitTime +
Tolerance
);
lock_shared.pass.cpp
44
ms
Tolerance
= ms(50);
46
ms
Tolerance
= ms(50 * 5);
57
assert(d <
Tolerance
); // within
tolerance
67
assert(d <
Tolerance
); // within
tolerance
lock.pass.cpp
43
ms
Tolerance
= ms(50);
45
ms
Tolerance
= ms(100);
try_lock_shared.pass.cpp
39
ms
Tolerance
= ms(200);
41
ms
Tolerance
= ms(200 * 5);
55
assert(d <
Tolerance
); // within
tolerance
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
try_lock_for.pass.cpp
42
ms
Tolerance
= ms(50);
44
ms
Tolerance
= ms(50 * 5);
50
assert(m.try_lock_for(WaitTime +
Tolerance
) == true);
54
assert(d <
Tolerance
); // within
tolerance
63
assert(d <
Tolerance
); // within
tolerance
78
std::this_thread::sleep_for(WaitTime +
Tolerance
);
try_lock_until.pass.cpp
42
ms
Tolerance
= ms(50);
44
ms
Tolerance
= ms(50 * 5);
50
assert(m.try_lock_until(Clock::now() + WaitTime +
Tolerance
) == true);
54
assert(d <
Tolerance
); // within
tolerance
63
assert(d <
Tolerance
); // within
tolerance
78
std::this_thread::sleep_for(WaitTime +
Tolerance
);
try_lock_shared_for.pass.cpp
42
ms
Tolerance
= ms(50);
44
ms
Tolerance
= ms(50 * 5);
50
assert(m.try_lock_shared_for(WaitTime +
Tolerance
) == true);
54
assert(d <
Tolerance
); // within 50ms
63
assert(d <
Tolerance
); // within 50ms
83
std::this_thread::sleep_for(WaitTime +
Tolerance
);
try_lock_shared_until.pass.cpp
42
ms
Tolerance
= ms(50);
44
ms
Tolerance
= ms(50 * 5);
50
assert(m.try_lock_shared_until(Clock::now() + WaitTime +
Tolerance
) == true);
54
assert(d <
Tolerance
); // within 50ms
63
assert(d <
Tolerance
); // within
tolerance
83
std::this_thread::sleep_for(WaitTime +
Tolerance
);
lock_shared.pass.cpp
42
ms
Tolerance
= ms(50);
44
ms
Tolerance
= ms(50 * 5);
55
assert(d <
Tolerance
); // within
tolerance
65
assert(d <
Tolerance
); // within
tolerance
lock.pass.cpp
41
ms
Tolerance
= ms(50);
43
ms
Tolerance
= ms(100);
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
lock.pass.cpp
42
ms
Tolerance
= ms(50);
44
ms
Tolerance
= ms(50 * 5);
54
assert(d <
Tolerance
); // within
tolerance
lock_shared.pass.cpp
43
ms
Tolerance
= ms(50);
45
ms
Tolerance
= ms(50 * 5);
55
assert(d <
Tolerance
); // within
tolerance
65
assert(d <
Tolerance
); // within
tolerance
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
lock.pass.cpp
40
ms
Tolerance
= ms(50);
42
ms
Tolerance
= ms(50 * 5);
52
assert(d <
Tolerance
); // within
tolerance
lock_shared.pass.cpp
41
ms
Tolerance
= ms(50);
43
ms
Tolerance
= ms(50 * 5);
53
assert(d <
Tolerance
); // within
tolerance
63
assert(d <
Tolerance
); // within
tolerance
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
mutex_duration.pass.cpp
44
ms
Tolerance
= ms(50);
46
ms
Tolerance
= ms(50 * 5);
53
std::shared_lock<std::shared_timed_mutex> lk(m, WaitTime +
Tolerance
);
57
assert(d <
Tolerance
); // within 50ms
67
assert(d <
Tolerance
); // within 50ms
87
std::this_thread::sleep_for(WaitTime +
Tolerance
);
mutex_time_point.pass.cpp
44
ms
Tolerance
= ms(50);
46
ms
Tolerance
= ms(50 * 5);
52
std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + WaitTime +
Tolerance
);
56
assert(d <
Tolerance
); // within 50ms
66
assert(d <
Tolerance
); // within 50ms
86
std::this_thread::sleep_for(WaitTime +
Tolerance
);
mutex.pass.cpp
41
ms
Tolerance
= ms(50);
43
ms
Tolerance
= ms(50 * 5);
57
assert(d <
Tolerance
); // within
tolerance
69
assert(d <
Tolerance
); // within
tolerance
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
mutex_duration.pass.cpp
42
ms
Tolerance
= ms(50);
44
ms
Tolerance
= ms(50 * 5);
51
std::shared_lock<std::shared_timed_mutex> lk(m, WaitTime +
Tolerance
);
55
assert(d <
Tolerance
); // within 50ms
65
assert(d <
Tolerance
); // within 50ms
85
std::this_thread::sleep_for(WaitTime +
Tolerance
);
mutex_time_point.pass.cpp
42
ms
Tolerance
= ms(50);
44
ms
Tolerance
= ms(50 * 5);
50
std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + WaitTime +
Tolerance
);
54
assert(d <
Tolerance
); // within 50ms
64
assert(d <
Tolerance
); // within 50ms
84
std::this_thread::sleep_for(WaitTime +
Tolerance
);
mutex.pass.cpp
39
ms
Tolerance
= ms(50);
41
ms
Tolerance
= ms(50 * 5);
55
assert(d <
Tolerance
); // within
tolerance
67
assert(d <
Tolerance
); // within
tolerance
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
lock.pass.cpp
41
ms
Tolerance
= ms(25);
43
ms
Tolerance
= ms(25 * 5);
55
assert(d <
Tolerance
); // within
tolerance
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
lock.pass.cpp
42
ms
Tolerance
= ms(25);
44
ms
Tolerance
= ms(25 * 5);
56
assert(d <
Tolerance
); // within
tolerance
Completed in 309 milliseconds
1
2
3