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

/freebsd-10.2-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.2-release/sys/vm/
H A Dvm_glue.c744 int slptime; local
774 slptime = (ticks - td->td_slptick) / hz;
775 pri = swtime + slptime;
868 int slptime; local
934 slptime = (ticks - td->td_slptick) / hz;
939 if (slptime < swap_idle_threshold1) {
965 (slptime < swap_idle_threshold2))) {
970 if (minslptime > slptime)
971 minslptime = slptime;

Completed in 48 milliseconds