Searched refs:WaitTime (Results 1 – 12 of 12) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
| H A D | try_lock_for.pass.cpp | 40 ms WaitTime = ms(250); variable 54 assert(m.try_lock_for(WaitTime + Tolerance) == true); in f1() 57 ns d = t1 - t0 - WaitTime; in f1() 64 assert(m.try_lock_for(WaitTime) == false); in f2() 66 ns d = t1 - t0 - WaitTime; in f2() 75 std::this_thread::sleep_for(WaitTime); in main() 82 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
| H A D | try_lock_until.pass.cpp | 41 ms WaitTime = ms(250); variable 55 assert(m.try_lock_until(Clock::now() + WaitTime + Tolerance) == true); in f1() 58 ns d = t1 - t0 - WaitTime; in f1() 65 assert(m.try_lock_until(Clock::now() + WaitTime) == false); in f2() 67 ns d = t1 - t0 - WaitTime; in f2() 76 std::this_thread::sleep_for(WaitTime); in main() 83 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
| H A D | try_lock_shared_for.pass.cpp | 41 ms WaitTime = ms(250); variable 55 assert(m.try_lock_shared_for(WaitTime + Tolerance) == true); in f1() 58 ns d = t1 - t0 - WaitTime; in f1() 65 assert(m.try_lock_shared_for(WaitTime) == false); in f2() 67 ns d = t1 - t0 - WaitTime; in f2() 78 std::this_thread::sleep_for(WaitTime); in main() 88 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
| H A D | lock_shared.pass.cpp | 46 ms WaitTime = ms(250); variable 55 assert(t1 - t0 >= WaitTime); in readerMustWait() 71 assert(t1 - t0 >= WaitTime); in writerMustWait() 86 std::this_thread::sleep_for(WaitTime); in main() 99 std::this_thread::sleep_for(WaitTime); in main()
|
| H A D | lock.pass.cpp | 44 ms WaitTime = ms(250); variable 54 assert(t1 - t0 >= WaitTime); in f() 64 std::this_thread::sleep_for(WaitTime); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/ |
| H A D | lock_shared.pass.cpp | 40 ms WaitTime = ms(250); variable 57 ns d = t1 - t0 - WaitTime; in f() 78 std::this_thread::sleep_for(WaitTime); in main() 86 std::this_thread::sleep_for(WaitTime); in main()
|
| H A D | lock.pass.cpp | 39 ms WaitTime = ms(250); variable 56 ns d = t1 - t0 - WaitTime; in f() 64 std::this_thread::sleep_for(WaitTime); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
| H A D | mutex.pass.cpp | 40 ms WaitTime = ms(250); variable 61 ns d = t1 - t0 - WaitTime; in f() 84 std::this_thread::sleep_for(WaitTime); in main() 94 std::this_thread::sleep_for(WaitTime); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
| H A D | lock.pass.cpp | 39 ms WaitTime = ms(250); variable 58 ns d = t1 - t0 - WaitTime; in f() 92 std::this_thread::sleep_for(WaitTime); in main()
|
| /llvm-project-15.0.7/llvm/tools/llvm-mca/Views/ |
| H A D | TimelineView.cpp | 25 LastCycle(0), WaitTime(S.size()), UsedBuffer(S.size()) { in TimelineView() 34 std::fill(WaitTime.begin(), WaitTime.end(), NullWTEntry); in TimelineView() 73 WaitTimeEntry &WTEntry = WaitTime[Index % getSource().size()]; in onEvent() 192 printWaitTimeEntry(FOS, WaitTime[IID], IID, Executions); in printAverageWaitTimes() 202 WaitTime.begin(), WaitTime.end(), WaitTimeEntry{0, 0, 0}, in printAverageWaitTimes()
|
| H A D | TimelineView.h | 141 std::vector<WaitTimeEntry> WaitTime; variable
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | z_Windows_NT_util.cpp | 70 ULONG WaitTime; member
|