Home
last modified time | relevance | path

Searched refs:WaitTime (Results 1 – 14 of 14) sorted by relevance

/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
Dtry_lock_until.pass.cpp38 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()
Dtry_lock_for.pass.cpp38 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()
Dtry_lock_shared_until.pass.cpp38 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()
Dtry_lock_shared_for.pass.cpp38 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()
Dlock_shared.pass.cpp38 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()
Dlock.pass.cpp37 ms WaitTime = ms(250); variable
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
Dmutex_duration.pass.cpp38 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()
Dmutex_time_point.pass.cpp38 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()
Dmutex.pass.cpp38 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/
Dlock_shared.pass.cpp37 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()
Dlock.pass.cpp36 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/
DTimelineView.cpp32 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()
DTimelineView.h144 std::vector<WaitTimeEntry> WaitTime; variable
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dlock.pass.cpp35 ms WaitTime = ms(250); variable
54 ns d = t1 - t0 - WaitTime; in f()
88 std::this_thread::sleep_for(WaitTime); in main()