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

/freebsd-10.0-release/tools/regression/gaithrstress/
H A Dgaithrstress.c77 struct timespec slptime = { 0, 0 }; local
82 slptime.tv_sec++;
85 slptime.tv_nsec = rndsleep * 1e9;
86 (void)nanosleep(&slptime, NULL);
/freebsd-10.0-release/sys/vm/
H A Dvm_glue.c694 int slptime; local
724 slptime = (ticks - td->td_slptick) / hz;
725 pri = swtime + slptime;
818 int slptime; local
884 slptime = (ticks - td->td_slptick) / hz;
889 if (slptime < swap_idle_threshold1) {
915 (slptime < swap_idle_threshold2))) {
920 if (minslptime > slptime)
921 minslptime = slptime;

Completed in 71 milliseconds