Home
last modified time | relevance | path

Searched refs:sleepTime (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.unique_future/
H A Dwait_for.pass.cpp31 static const ms sleepTime(500); variable
36 std::this_thread::sleep_for(sleepTime); in func1()
44 std::this_thread::sleep_for(sleepTime); in func3()
51 std::this_thread::sleep_for(sleepTime); in func5()
78 assert(t1 - t0 >= sleepTime); in test()
/llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.shared_future/
H A Dwait_for.pass.cpp29 static const ms sleepTime(500); variable
34 std::this_thread::sleep_for(sleepTime); in func1()
42 std::this_thread::sleep_for(sleepTime); in func3()
49 std::this_thread::sleep_for(sleepTime); in func5()
109 assert(t1 - t0 >= sleepTime); in main()
125 assert(t1 - t0 >= sleepTime); in main()
141 assert(t1 - t0 >= sleepTime); in main()
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dsleep.cc44 div_t sleepTime = div(microseconds, kNumMicrosPerSecond);
45 int seconds = sleepTime.quot;
47 while (usleep(sleepTime.rem) == -1 && errno == EINTR)