Home
last modified time | relevance | path

Searched refs:SLEEP_FOR_ONE_SECOND (Results 1 - 2 of 2) sorted by relevance

/commonlibrary/c_utils/base/test/benchmarktest/thread_benchmark_test/
H A Dthread_benchmark_test.cpp61 const int SLEEP_FOR_ONE_SECOND = 1; member
171 sleep(SLEEP_FOR_ONE_SECOND); in BENCHMARK_F()
195 sleep(SLEEP_FOR_ONE_SECOND); // let the new thread has chance to run in BENCHMARK_F()
211 sleep(SLEEP_FOR_ONE_SECOND); in BENCHMARK_F()
237 sleep(SLEEP_FOR_ONE_SECOND); in ThreadTestProcedure()
279 sleep(SLEEP_FOR_ONE_SECOND); // let the new thread has chance to run in BENCHMARK_F()
295 sleep(SLEEP_FOR_ONE_SECOND); in BENCHMARK_F()
338 sleep(SLEEP_FOR_ONE_SECOND); // let the new thread has chance to run in BENCHMARK_F()
357 sleep(SLEEP_FOR_ONE_SECOND); // let the new thread has chance to run in BENCHMARK_F()
392 sleep(SLEEP_FOR_ONE_SECOND); // le in BENCHMARK_F()
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/thread_pool_benchmark_test/
H A Dthread_pool_benchmark_test.cpp32 const int SLEEP_FOR_ONE_SECOND = 1; member
189 sleep(SLEEP_FOR_ONE_SECOND); in BENCHMARK_F()
227 sleep(SLEEP_FOR_ONE_SECOND); in BENCHMARK_F()
282 std::this_thread::sleep_for(std::chrono::seconds(SLEEP_FOR_ONE_SECOND)); in BENCHMARK_F()
330 sleep(SLEEP_FOR_ONE_SECOND); in BENCHMARK_F()
346 sleep(SLEEP_FOR_ONE_SECOND); in BENCHMARK_F()
396 sleep(SLEEP_FOR_ONE_SECOND); in BENCHMARK_F()

Completed in 2 milliseconds