Lines Matching defs:hz
246 blkticks = blktime_threshold * hz;
247 slpticks = slptime_threshold * hz;
260 pause("allproc", sleepfreq * hz);
285 pause("-", sleepfreq * hz);
343 * The main timer, running hz times per second, is used to trigger interval
429 i = stathz ? stathz : hz;
560 * based on the given hz value:
562 #define TIME_TO_TICKS(sec, usec, hz) \
563 ((sec) * (hz) + TIME_INT_SCALE(usec, hz, 1 << 6) / (1000000 >> 6))
565 #define TIME_ASSERT_VALID_HZ(hz) \
566 _Static_assert(TIME_TO_TICKS(INT_MAX / (hz) - 1, 999999, hz) >= 0 && \
567 TIME_TO_TICKS(INT_MAX / (hz) - 1, 999999, hz) < INT_MAX, \
624 retval = TIME_TO_TICKS((int)tv->tv_sec, (int)tv->tv_usec, hz);
746 "prio:%d", td->td_priority, "stathz:%d", (stathz)?stathz:hz);
801 clkinfo.hz = hz;
804 clkinfo.stathz = stathz ? stathz : hz;
820 watchdog_ticks = (1 << (u - WD_TO_1SEC)) * hz;