Searched refs:sleep (Results 1 - 25 of 27) sorted by relevance

12

/xnu-2422.115.4/tools/tests/xnu_quick_test/helpers/
H A Dsleep.c5 sleep(120);
H A Dlaunch.c43 argvs[0] = "sleep-i386";
44 if (do_execve_test("helpers/sleep-i386", argvs, NULL, 0)) goto test_failed_exit;
47 argvs[0] = "sleep-x86_64-4G";
48 if (do_execve_test("helpers/sleep-x86_64-4G", argvs, NULL, 0)) goto test_failed_exit;
51 argvs[0] = "sleep-x86_64-4K";
52 if (do_execve_test("helpers/sleep-x86_64-4K", argvs, NULL, 0)) goto test_failed_exit;
62 argvs[0] = "sleep-x86_64-4G";
63 if (do_execve_test("helpers/sleep-x86_64-4G", argvs, NULL, 1)) goto test_failed_exit;
66 argvs[0] = "sleep-x86_64-4K";
67 if (do_execve_test("helpers/sleep
[all...]
/xnu-2422.115.4/tools/tests/unit_tests/ptrace_tests_10767133_src/
H A Dptrace_tests_10767133.c96 log_message("child: running the sleep loop");
98 log_message("child: sleep loop");
100 sleep(1);
104 log_message("child: finished sleep loop");
109 log_message("child: sleep loop 2");
111 sleep(1);
124 sleep(2);
128 sleep(2);
132 sleep(2);
161 log_message("child: running the sleep loo
[all...]
/xnu-2422.115.4/tools/lockstat/
H A Dlockstat.c169 sleep(arg2);
182 sleep(arg2);
191 sleep(arg2);
200 sleep(arg2);
213 sleep(arg2);
242 sleep(arg2);
248 sleep(arg2);
255 sleep(arg2);
262 sleep(arg2);
278 sleep(arg
[all...]
/xnu-2422.115.4/tools/tests/xnu_quick_test/
H A Dmakefile105 helpers : $(SRCSUBPATH)/helpers/sleep.c $(SRCSUBPATH)/helpers/launch.c $(SRCSUBPATH)/helpers/arch.c $(SRCSUBPATH)/helpers/data_exec.c helperdir $(OBJSUBPATH)/misc.o
108 $(CC) -g $(ARCH_32_FLAGS) $(SRCSUBPATH)/helpers/sleep.c -o $(SYMROOT)/sleep-i386
109 /usr/bin/ditto $(SYMROOT)/sleep-i386 $(DSTROOT)/helpers/
119 $(CC) -g $(ARCH_64_FLAGS) -pagezero_size 0x100000000 $(SRCSUBPATH)/helpers/sleep.c -o $(SYMROOT)/sleep-x86_64-4G
120 $(CC) -g $(ARCH_64_FLAGS) -pagezero_size 0x1000 $(SRCSUBPATH)/helpers/sleep.c -o $(SYMROOT)/sleep-x86_64-4K
122 /usr/bin/ditto $(SYMROOT)/sleep-x86_64-4G $(SYMROOT)/sleep
[all...]
H A Dcommpage_tests.c334 sleep(1);
346 sleep(1);
H A Dsched_tests.c80 sleep(1);
197 sleep(1);
H A Dmisc.c182 /* vfork then execve sleep system command (which we will kill from the parent process) */
191 * binaries, which just sleep for 120 seconds. Let our parent kill us.
209 sleep(killwait);
H A Dsocket_tests.c143 sleep(2);
/xnu-2422.115.4/tools/tests/libMicro/
H A Dod_account_create.sh100 sleep 2
103 sleep 2
109 sleep 2
/xnu-2422.115.4/iokit/Tests/
H A DTestDevice.cpp48 TestDevice::enqueueCommand(bool sleep, argument
51 return commQ->enqueueCommand(sleep, (void *) act, (void *) tag, dataP);
H A DTests.h94 kern_return_t enqueueCommand(bool sleep,
/xnu-2422.115.4/tools/tests/unit_tests/
H A Dtest_waitqlocktry_12053360.c38 printf("Usage: %s <max sleep in usecs> <nthreads>\n", argv[0]);
65 printf("Creating %u threads with a max sleep time of %uusec.\n", nthreads, test_usleep_max);
76 sleep(MAX_TEST_RUN_TIME);
/xnu-2422.115.4/tools/tests/memorystatus/
H A Dmemorystatus.c351 sleep(1);
360 sleep(1);
370 sleep(1);
484 sleep(10);
763 sleep(1);
859 sleep(1);
871 sleep(1);
882 sleep(interval);
906 sleep(3);
1300 sleep(
[all...]
/xnu-2422.115.4/tools/tests/unit_tests/ptrace_test_12507045_src/
H A Dptrace_test.c493 sleep(60);
513 sleep(1);
558 sleep(1);
597 sleep(1);
/xnu-2422.115.4/tools/tests/unit_tests/thread_get_state_11918811_src/
H A Dthread_get_state.c47 sleep(1);
/xnu-2422.115.4/iokit/Kernel/
H A DIOMapper.cpp68 void sleep(void *event) { IOLockSleep(fWaitLock, event, THREAD_UNINT); }; function in class:IOMapperLock
138 sMapperLock.sleep(&IOMapper::gSystem);
/xnu-2422.115.4/bsd/kern/
H A Dkern_synch.c136 * pri<=PZERO a signal cannot disturb the sleep;
138 * If pri&PCATCH is set, signals will cause sleep
308 sleep( function
H A Dtty.c1114 * have been "interrupted" from a "sleep" to act on
1994 * have been "interrupted" from a "sleep" to act on
2035 * For the other two cases, we compute the target sleep time
2040 goto sleep;
2052 goto sleep;
2112 goto sleep;
2115 sleep:
2345 * have been "interrupted" from a "sleep" to act on
2354 * output translation. Keep track of high water mark, sleep on
2890 * 3) The sleeper with the shortest sleep tim
[all...]
/xnu-2422.115.4/tools/tests/unit_tests/cpu_monitor_tests_11646922_src/
H A Dcpumon_test_framework.c152 sleep(timeout);
/xnu-2422.115.4/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c121 * Initialize an action struct. Whether to sleep, what action to take,
125 init_action(action_t *act, int sleep, action_id_t call, int nargs, ...) argument
130 act->act_dosleep = sleep;
220 /* Let other thread get into kevent() sleep */
222 sleep(SLEEP_TIME);
447 sleep(5);
1459 sleep(2);
1468 sleep(2);
/xnu-2422.115.4/tools/tests/jitter/
H A Dtimer_jitter.c80 printf("Usage: jitter [-w] [-s <random seed>] [-n <min sleep, ns>] [-m <max sleep, ns>] <realtime | timeshare | fixed> <num iterations> <traceworthy jitter, ns>\n");
152 /* Now use the random number to sleep amount within the window */
347 sleep(1); /* Time for other thread to start up */
359 * try to sleep exactly that long
443 * try to sleep exactly that long
/xnu-2422.115.4/tools/tests/zero-to-n/
H A Dzero-to-n.c237 * When the last thread finishes, everyone gets to go back to sleep.
501 sleep(1);
557 /* Let worker threads get back to sleep... */
/xnu-2422.115.4/bsd/sys/
H A Dproc_internal.h522 uint32_t __p_forw; /* Doubly-linked run/sleep queue. */
544 uint32_t p_wmesg; /* Reason for sleep. */
574 user_addr_t __p_forw; /* Doubly-linked run/sleep queue. */
596 user_addr_t p_wmesg; /* Reason for sleep. */
717 extern int sleep(void *chan, int pri);
/xnu-2422.115.4/bsd/netinet/
H A Dip_compat.h288 # define SLEEP(id, n) sleep((id), PZERO+1)

Completed in 92 milliseconds

12