Lines Matching defs:hz
133 * Default hz is 100, but if we set hires_tick we get higher resolution
134 * clock behavior (currently defined to be 1000 hz). Higher values seem
137 * If we do decide to play with higher values, remember that hz should
140 * (1) hz should be in the range 100 <= hz <= MICROSEC. If hz exceeds
142 * Similarly, if hz < 100 then hz / 100 == 0 and stuff will break.
144 * (2) If hz <= 1000, it should be both a multiple of 100 and a
147 * (3) If hz > 1000, it should be both a multiple of 1000 and a
150 * Thus the only reasonable values of hz (i.e. the values that won't
159 int hz = HZ_DEFAULT;
165 int tick_per_msec; /* clock ticks per millisecond (zero if hz < 1000) */
171 * msec_per_tick is zero if hz > 1000
669 * calculations needed if hz was set in /etc/system
672 hz = hires_hz;
674 tick_per_msec = hz / MILLISEC;
675 msec_per_tick = MILLISEC / hz;
676 usec_per_tick = MICROSEC / hz;
677 nsec_per_tick = NANOSEC / hz;