Home
last modified time | relevance | path

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

1234567

/linux/tools/testing/selftests/bpf/prog_tests/
A Dbpf_loop.c19 usleep(1); in check_nr_loops()
27 usleep(1); in check_nr_loops()
36 usleep(1); in check_nr_loops()
55 usleep(1); in check_callback_fn_stop()
76 usleep(1); in check_null_callback_ctx()
93 usleep(1); in check_invalid_flags()
113 usleep(1); in check_nested_calls()
132 usleep(1); in check_non_constant_callback()
136 usleep(1); in check_non_constant_callback()
165 usleep(1); in check_stack()
A Dlink_pinning.c24 usleep(1); in test_link_pinning_subtest()
41 usleep(1); in test_link_pinning_subtest()
49 usleep(1); in test_link_pinning_subtest()
67 usleep(1); in test_link_pinning_subtest()
80 usleep(1); in test_link_pinning_subtest()
A Dmap_btf.c23 usleep(1); in do_test_normal_map_btf()
44 usleep(4000); in do_test_normal_map_btf()
70 usleep(1); in do_test_map_in_map_btf()
88 usleep(10000); in do_test_map_in_map_btf()
A Dbpf_cookie.c59 usleep(1); in kprobe_subtest()
392 usleep(1); in tp_subtest()
414 usleep(1); in tp_subtest()
567 usleep(1); in lsm_subtest()
598 usleep(1); /* trigger */ in tp_btf_subtest()
612 usleep(1); /* trigger */ in tp_btf_subtest()
626 usleep(1); /* trigger */ in tp_btf_subtest()
658 usleep(1); /* trigger */ in raw_tp_subtest()
673 usleep(1); /* trigger */ in raw_tp_subtest()
A Dksyms_btf.c45 usleep(1); in test_basic()
102 usleep(1); in test_weak_syms()
129 usleep(1); in test_weak_syms_lskel()
A Dtest_mmap_inner_array.c31 usleep(1); in test_mmap_inner_array()
45 usleep(1); in test_mmap_inner_array()
A Dbtf_map_in_map.c52 usleep(1); in test_lookup_update()
65 usleep(1); in test_lookup_update()
76 usleep(1); in test_lookup_update()
A Dsubprogs.c45 usleep(1); in test_subprogs_with_jit_harden_toggling()
75 usleep(1); in test_subprogs_alone()
A Dcgroup_tcp_skb.c164 usleep(100000); /* 0.1s */ in close_connection()
169 usleep(100000); /* 0.1s */ in close_connection()
189 usleep(100000); /* 0.1s */ in close_connection()
206 usleep(100000); /* 0.1s */ in close_connection()
A Dtimer_mim.c29 usleep(200); /* 100 times more than interval */ in timer_mim()
44 usleep(200); /* 100 times more than interval */ in timer_mim()
A Dcgroup_iter.c239 usleep(8000); in test_walk_dead_self_only()
241 usleep(8000); in test_walk_dead_self_only()
243 usleep(1000); in test_walk_dead_self_only()
A Dlru_bug.c17 usleep(1); in test_lru_bug()
/linux/tools/testing/selftests/futex/functional/
A Dfutex_requeue_pi.c119 usleep(1000 * (long)args->id); in waiterfn()
157 usleep(1000); in broadcast_wakerfn()
158 usleep(1000); in broadcast_wakerfn()
205 usleep(1000); in signal_wakerfn()
206 usleep(1000); in signal_wakerfn()
238 usleep(SIGNAL_PERIOD_US); in signal_wakerfn()
A Dfutex_wait.c84 usleep(WAKE_WAIT_US); in main()
112 usleep(WAKE_WAIT_US); in main()
151 usleep(WAKE_WAIT_US); in main()
A Dfutex_requeue.c79 usleep(WAKE_WAIT_US); in main()
112 usleep(WAKE_WAIT_US); in main()
/linux/tools/testing/selftests/perf_events/
A Dremove_on_exec.c156 usleep(100000); /* ... give time for event to trigger (in case of bug). */ in TEST_F()
189 usleep(100000); /* ... give time for event to trigger (in case of bug). */ in TEST_F()
215 usleep(100000); /* ... give time for event to trigger (in case of bug). */ in TEST_F()
/linux/tools/testing/selftests/cgroup/
A Dtest_kill.c51 usleep(1000); in child_fn()
214 usleep(1000); in forkbomb_fn()
239 usleep(100000); in test_cgkill_forkbomb()
/linux/tools/testing/selftests/powerpc/signal/
A Dsig_sc_double_restart.c146 usleep(100000); /* Hack to get reader waiting */ in test_restart()
148 usleep(100000); in test_restart()
/linux/tools/testing/selftests/user_events/
A Dabi_test.c39 usleep(1000); in wait_for_delete()
357 usleep(100000); in TEST_F()
367 usleep(100000); in TEST_F()
390 usleep(100000); in clone_check()
/linux/tools/testing/selftests/timens/
A Dclock_nanosleep.c81 usleep(10000 << j); in run_test()
86 usleep(10000 << j); in run_test()
/linux/tools/testing/selftests/timers/
A Dfreq-step.c156 usleep(1e6 * MEAN_SAMPLE_INTERVAL / 10); in run_test()
163 usleep(rand() % 2000000 * STEP_INTERVAL / 10); in run_test()
168 usleep(rand() % 2000000 * MEAN_SAMPLE_INTERVAL); in run_test()
/linux/Documentation/timers/
A Dtimers-howto.rst66 - Why not usleep?
69 for usleep *may* not be worth it. Such an evaluation
85 - Why is there no "usleep" / What is a good range?
88 usleep function would likely introduce a large number
/linux/tools/testing/selftests/rlimits/
A Drlimits-per-userns.c111 usleep(250000); in main()
135 usleep(250000); in main()
/linux/tools/power/cpupower/bench/
A Dbenchmark.c127 usleep(sleep_time); in start_benchmark()
153 usleep(sleep_time); in start_benchmark()
/linux/tools/power/acpi/os_specific/service_layers/
A Dosunixxf.c773 usleep(10 * ACPI_USEC_PER_MSEC); /* ten milliseconds */ in acpi_os_wait_semaphore()
776 usleep(ACPI_USEC_PER_MSEC); /* one millisecond */ in acpi_os_wait_semaphore()
940 usleep(microseconds); in acpi_os_stall()
967 usleep((milliseconds % ACPI_MSEC_PER_SEC) * ACPI_USEC_PER_MSEC); in acpi_os_sleep()

Completed in 34 milliseconds

1234567