Home
last modified time | relevance | path

Searched refs:usleep (Results 1 – 25 of 255) sorted by relevance

1234567891011

/third_party/mindspore/tests/ut/cpp/utils/
Dprofile_test.cc39 WITH(prof->Lap(cnt))[elem]()->void { usleep(elem); }; in test_lap()
51 usleep(20); in TEST_F()
55 usleep(10); in TEST_F()
70 usleep(20); // Step01.stage1 in TEST_F()
72 usleep(30); // Step01.stage2 in TEST_F()
74 usleep(10); // Step02.stage1 in TEST_F()
76 usleep(10); // Step02.stage2 in TEST_F()
78 usleep(10); // Step02.stage3 in TEST_F()
/third_party/ltp/testcases/kernel/mem/mtest06/
Dshmat1.c262 usleep(0); in shmat_shmdt()
270 usleep(0); in shmat_shmdt()
309 usleep(0); in write_to_mem()
321 usleep(1); in write_to_mem()
349 usleep(0); in read_from_mem()
368 usleep(1); in read_from_mem()
/third_party/ltp/lib/
Dtst_process_state.c30 usleep(1000); in tst_process_state_wait()
68 usleep(10000); in tst_process_state_wait2()
80 usleep(1000); in tst_process_exit_wait()
/third_party/ltp/testcases/cve/
Dcve-2017-17052.c56 usleep(rand() % 10000); in fork_thread()
76 usleep(rand() % 10000); in do_test_fork()
98 usleep(EXEC_USEC); in run()
Dcve-2017-17053.c119 usleep(rand() % 10000); in run_test()
137 usleep(EXEC_USEC); in run()
/third_party/ltp/tools/genload/
Dgenload.c485 usleep(backoff); in hogcpu()
496 usleep(retry); in hogcpu()
561 usleep(backoff); in hogio()
572 usleep(retry); in hogio()
642 usleep(backoff); in hogvm()
659 usleep(retry); in hogvm()
694 usleep(retry); in hogvm()
771 usleep(backoff); in hoghdd()
849 usleep(retry); in hoghdd()
Dstress.c485 usleep(backoff); in hogcpu()
496 usleep(retry); in hogcpu()
561 usleep(backoff); in hogio()
572 usleep(retry); in hogio()
642 usleep(backoff); in hogvm()
659 usleep(retry); in hogvm()
694 usleep(retry); in hogvm()
771 usleep(backoff); in hoghdd()
849 usleep(retry); in hoghdd()
/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_policy_memory_test.c207 usleep(100000); in domain_policy_test()
228 usleep(100000); in domain_policy_test()
316 usleep(100000); in exception_policy_test()
337 usleep(100000); in exception_policy_test()
/third_party/ltp/testcases/realtime/func/prio-preempt/
Dprio-preempt.c130 usleep(20); in int_thread()
257 usleep(100); in master_thread()
273 usleep(100); in master_thread()
284 usleep(500000); /* this period greatly affects the number of failures! */ in master_thread()
/third_party/ltp/testcases/realtime/func/async_handler/
Dasync_handler.c107 usleep(10); in handler_thread()
129 usleep(10); in signal_thread()
141 usleep(10); in signal_thread()
Dasync_handler_tsc.c124 usleep(10); in handler_thread()
145 usleep(10); in signal_thread()
157 usleep(10); in signal_thread()
/third_party/ltp/testcases/kernel/sched/autogroup/
Dautogroup01.c40 usleep(1000); in do_test()
48 usleep(10); in do_test()
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/LayerManagerControl/src/
Dcontrol.cpp89 usleep(100 * 1000); in testNotificationLayer()
94 usleep(100 * 1000); in testNotificationLayer()
102 usleep(100 * 1000); in testNotificationLayer()
/third_party/ltp/testcases/kernel/sched/tool/
Dtrace_sched.c153 usleep(6); in get_proc_num()
227 usleep(8); in thread_func()
401 usleep(9); in main()
436 usleep(10); in main()
/third_party/openh264/codec/common/src/
DWelsThreadLib.cpp305 usleep (dwMilliSecond * 1000); in WelsSleep()
414 usleep (uiAccessTime); in WelsMultipleEventsWaitSingleBlocking()
420 usleep (1); // switch to working threads in WelsMultipleEventsWaitSingleBlocking()
459 usleep (uiAccessTime); in WelsMultipleEventsWaitSingleBlocking()
465 usleep (1); // switch to working threads in WelsMultipleEventsWaitSingleBlocking()
/third_party/musl/ndk-test/sanitize/scudo/src/
Dinterface.cpp59 usleep(20000); in main()
85 usleep(20000); in main()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dtimerfd_gettime.c52 result = usleep(MICROSECONDS); in timerfd_gettime_0100()
104 result = usleep(MICROSECONDS); in timerfd_gettime64_0100()
Dtimerfd_settime.c56 result = usleep(MICROSECONDS); in timerfd_settime_0100()
107 result = usleep(MICROSECONDS); in timerfd_settime64_0100()
/third_party/ltp/testcases/kernel/input/
Dinput_helper.c82 usleep(10000); in open_device()
161 usleep(10000); in open_uinput()
207 usleep(10000); in create_device()
Dinput03.c100 usleep(1000); in send_events()
103 usleep(1000); in send_events()
/third_party/ltp/testcases/realtime/func/pthread_kill_latency/
Dpthread_kill_latency.c236 usleep(100); in signal_sending_thread()
251 usleep(100); in signal_sending_thread()
267 usleep(100); in signal_sending_thread()
/third_party/ltp/testcases/realtime/func/sched_football/
Dsched_football.c191 usleep(100); in main()
202 usleep(100); in main()
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/model_converter_utils/
Dmulti_process.cc167 (void)usleep(kOneMillisecond); // 1ms in SendMsg()
188 (void)usleep(kOneMillisecond); // 1ms in ReceiveMsg()
235 (void)usleep(kOneHundredMilliseconds); // sleep 100 ms in HeartbeatThreadFuncInner()
/third_party/ltp/testcases/kernel/syscalls/futex/
Dfutex_wake02.c71 usleep(100); in do_child()
87 usleep(100); in do_child()
/third_party/ltp/testcases/realtime/stress/pi-tests/
Dlookup_pi_state.c167 usleep(10); in master_thread()
191 usleep(10); in main()

1234567891011