hz - system clock frequency
#include <sys/kernel.h>
int hz;
hz specifies the number of times the hardclock(9) timer ticks per second.
hz is hardware-dependent; it can be overridden (if the machine dependent
code supports this) by defining HZ in the kernel configuration file (see
options(4)). Only override the default value if you really know what you
are doing.
options(4), callout(9), hardclock(9), microtime(9), time(9)
BSD September 4, 2001 BSD
[ Back ] |