Home
last modified time | relevance | path

Searched refs:sleep_for (Results 1 – 25 of 264) sorted by relevance

1234567891011

/external/llvm-project/lldb/unittests/Utility/
DTimerTest.cpp21 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST()
36 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST()
39 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST()
56 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in TEST()
59 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST()
80 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in TEST()
84 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST()
88 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST()
/external/llvm-project/libcxx/test/std/thread/futures/futures.async/
Dasync.pass.cpp38 std::this_thread::sleep_for(ms(200)); in f0()
47 std::this_thread::sleep_for(ms(200)); in f1()
54 std::this_thread::sleep_for(ms(200)); in f2()
60 std::this_thread::sleep_for(ms(200)); in f3()
67 std::this_thread::sleep_for(ms(200)); in f4()
73 std::this_thread::sleep_for(ms(200)); in f5()
85 std::this_thread::sleep_for(ms(300)); in test()
145 std::this_thread::sleep_for(ms(300)); in main()
150 std::this_thread::sleep_for(ms(300)); in main()
/external/libcxx/test/std/thread/futures/futures.async/
Dasync.pass.cpp39 std::this_thread::sleep_for(ms(200)); in f0()
48 std::this_thread::sleep_for(ms(200)); in f1()
55 std::this_thread::sleep_for(ms(200)); in f2()
61 std::this_thread::sleep_for(ms(200)); in f3()
68 std::this_thread::sleep_for(ms(200)); in f4()
74 std::this_thread::sleep_for(ms(200)); in f5()
86 std::this_thread::sleep_for(ms(300)); in test()
146 std::this_thread::sleep_for(ms(300)); in main()
151 std::this_thread::sleep_for(ms(300)); in main()
/external/grpc-grpc/src/python/grpcio_tests/tests/testing/
D_time_test.py51 self._time.sleep_for(_QUANTUM)
68 self._time.sleep_for(_QUANTUM * 2)
79 self._time.sleep_for(_QUANTUM * 2)
89 self._time.sleep_for(_QUANTUM)
91 self._time.sleep_for(_QUANTUM * 2)
110 self._time.sleep_for(_QUANTUM)
115 self._time.sleep_for(_QUANTUM * 3)
131 self._time.sleep_for(_QUANTUM * 2)
135 self._time.sleep_for(_QUANTUM * 2)
/external/libcxx/test/std/thread/futures/futures.unique_future/
Dget.pass.cpp28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2()
42 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
49 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4()
55 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
61 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
Dwait.pass.cpp24 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
32 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
39 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
/external/llvm-project/libcxx/test/std/thread/futures/futures.shared_future/
Dget.pass.cpp28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2()
42 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
49 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4()
55 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
61 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
Dwait.pass.cpp26 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
41 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
/external/libcxx/test/std/thread/futures/futures.shared_future/
Dget.pass.cpp28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2()
42 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
49 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4()
55 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
61 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
Dwait.pass.cpp24 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
32 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
39 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
/external/llvm-project/libcxx/test/std/thread/futures/futures.unique_future/
Dget.pass.cpp28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2()
42 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
49 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4()
55 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
61 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
Dwait.pass.cpp26 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
41 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
Dwait_for.pass.cpp33 std::this_thread::sleep_for(sleepTime); in func1()
41 std::this_thread::sleep_for(sleepTime); in func3()
48 std::this_thread::sleep_for(sleepTime); in func5()
/external/llvm-project/lldb/test/API/functionalities/thread/create_after_attach/
Dmain.cpp15 std::this_thread::sleep_for(microseconds(1)); in thread_1_func()
29 std::this_thread::sleep_for(microseconds(1)); // Set second breakpoint here in thread_2_func()
50 std::this_thread::sleep_for(microseconds(1)); // Set first breakpoint here in main()
/external/perfetto/src/tracing/consumer_api_deprecated/
Dconsumer_api_deprecated_test.cc103 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in TestSingle()
108 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TestSingle()
141 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TestMany()
148 std::this_thread::sleep_for(std::chrono::seconds(1)); in TestMany()
160 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TestMany()
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dnotify_one.pass.cpp60 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
68 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
85 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
/external/llvm-project/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dnotify_one.pass.cpp62 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
70 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
87 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
/external/ruy/ruy/profiler/
Dtest.cc93 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST()
95 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST()
142 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST()
149 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST()
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
Dnotify_one.pass.cpp55 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
63 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
82 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
Dcall_once.pass.cpp33 std::this_thread::sleep_for(ms(250)); in init0()
50 std::this_thread::sleep_for(ms(250)); in init3()
116 std::this_thread::sleep_for(ms(250)); in init41()
122 std::this_thread::sleep_for(ms(250)); in init42()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
Dcall_once.pass.cpp33 std::this_thread::sleep_for(ms(250)); in init0()
50 std::this_thread::sleep_for(ms(250)); in init3()
116 std::this_thread::sleep_for(ms(250)); in init41()
122 std::this_thread::sleep_for(ms(250)); in init42()
/external/python/cpython3/Doc/library/
Dasyncio-queue.rst164 sleep_for = await queue.get()
166 # Sleep for the "sleep_for" seconds.
167 await asyncio.sleep(sleep_for)
172 print(f'{name} has slept for {sleep_for:.2f} seconds')
182 sleep_for = random.uniform(0.05, 1.0)
183 total_sleep_time += sleep_for
184 queue.put_nowait(sleep_for)
/external/pigweed/pw_thread_stl/public/pw_thread_stl/
Dsleep_inline.h23 inline void sleep_for(chrono::SystemClock::duration for_at_least) { in sleep_for() function
30 return std::this_thread::sleep_for(for_at_least); in sleep_for()
/external/llvm-project/lldb/test/API/commands/process/attach-resume/
Dmain.cpp16 std::this_thread::sleep_for(std::chrono::microseconds(1)); // Set breakpoint here in start()
17 std::this_thread::sleep_for(std::chrono::seconds(1)); in start()
/external/ruy/ruy/
Dtune_test.cc33 std::this_thread::sleep_for(std::chrono::seconds(1)); in TEST()
43 std::this_thread::sleep_for(std::chrono::seconds(1)); in TEST()

1234567891011