/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
D | try_lock_until.pass.cpp | 38 ms WaitTime = ms(250); variable 52 assert(m.try_lock_until(Clock::now() + WaitTime + Tolerance) == true); in f1() 55 ns d = t1 - t0 - WaitTime; in f1() 62 assert(m.try_lock_until(Clock::now() + WaitTime) == false); in f2() 64 ns d = t1 - t0 - WaitTime; in f2() 73 std::this_thread::sleep_for(WaitTime); in main() 80 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | try_lock_for.pass.cpp | 38 ms WaitTime = ms(250); variable 52 assert(m.try_lock_for(WaitTime + Tolerance) == true); in f1() 55 ns d = t1 - t0 - WaitTime; in f1() 62 assert(m.try_lock_for(WaitTime) == false); in f2() 64 ns d = t1 - t0 - WaitTime; in f2() 73 std::this_thread::sleep_for(WaitTime); in main() 80 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | try_lock_shared_until.pass.cpp | 38 ms WaitTime = ms(250); variable 52 assert(m.try_lock_shared_until(Clock::now() + WaitTime + Tolerance) == true); in f1() 55 ns d = t1 - t0 - WaitTime; in f1() 62 assert(m.try_lock_shared_until(Clock::now() + WaitTime) == false); in f2() 64 ns d = t1 - t0 - WaitTime; in f2() 75 std::this_thread::sleep_for(WaitTime); in main() 85 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | try_lock_shared_for.pass.cpp | 38 ms WaitTime = ms(250); variable 52 assert(m.try_lock_shared_for(WaitTime + Tolerance) == true); in f1() 55 ns d = t1 - t0 - WaitTime; in f1() 62 assert(m.try_lock_shared_for(WaitTime) == false); in f2() 64 ns d = t1 - t0 - WaitTime; in f2() 75 std::this_thread::sleep_for(WaitTime); in main() 85 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | lock_shared.pass.cpp | 38 ms WaitTime = ms(250); variable 56 ns d = t1 - t0 - WaitTime; in f() 77 std::this_thread::sleep_for(WaitTime); in main() 85 std::this_thread::sleep_for(WaitTime); in main()
|
D | lock.pass.cpp | 37 ms WaitTime = ms(250); variable
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
D | mutex_duration.pass.cpp | 38 ms WaitTime = ms(250); variable 53 std::shared_lock<std::shared_timed_mutex> lk(m, WaitTime + Tolerance); in f1() 56 ns d = t1 - t0 - WaitTime; in f1() 63 std::shared_lock<std::shared_timed_mutex> lk(m, WaitTime); in f2() 66 ns d = t1 - t0 - WaitTime; in f2() 77 std::this_thread::sleep_for(WaitTime); in main() 87 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | mutex_time_point.pass.cpp | 38 ms WaitTime = ms(250); variable 52 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + WaitTime + Tolerance); in f1() 55 ns d = t1 - t0 - WaitTime; in f1() 62 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + WaitTime); in f2() 65 ns d = t1 - t0 - WaitTime; in f2() 76 std::this_thread::sleep_for(WaitTime); in main() 86 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | mutex.pass.cpp | 38 ms WaitTime = ms(250); variable 59 ns d = t1 - t0 - WaitTime; in f() 82 std::this_thread::sleep_for(WaitTime); in main() 92 std::this_thread::sleep_for(WaitTime); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/ |
D | lock_shared.pass.cpp | 37 ms WaitTime = ms(250); variable 54 ns d = t1 - t0 - WaitTime; in f() 75 std::this_thread::sleep_for(WaitTime); in main() 83 std::this_thread::sleep_for(WaitTime); in main()
|
D | lock.pass.cpp | 36 ms WaitTime = ms(250); variable 53 ns d = t1 - t0 - WaitTime; in f() 61 std::this_thread::sleep_for(WaitTime); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/ |
D | TimelineView.cpp | 32 WaitTime.resize(AsmSequence.size()); in initialize() 34 std::fill(WaitTime.begin(), WaitTime.end(), NullWTEntry); in initialize() 47 WaitTimeEntry &WTEntry = WaitTime[Index % AsmSequence.size()]; in onEvent() 104 if (WaitTime.empty()) in printAverageWaitTimes() 122 for (unsigned I = 0, E = WaitTime.size(); I < E; ++I) { in printAverageWaitTimes() 123 printWaitTimeEntry(FOS, WaitTime[I], I); in printAverageWaitTimes()
|
D | TimelineView.h | 144 std::vector<WaitTimeEntry> WaitTime; variable
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
D | lock.pass.cpp | 35 ms WaitTime = ms(250); variable 54 ns d = t1 - t0 - WaitTime; in f() 88 std::this_thread::sleep_for(WaitTime); in main()
|