*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: hz | Section: 9 | Source: OpenBSD | File: hz.9
HZ(9) FreeBSD Kernel Developer's Manual HZ(9) NAME hz, tick, tickadj, stathz, profhz - system time model SYNOPSIS extern int hz; extern int tick; extern int tickadj; extern int stathz; extern int profhz; DESCRIPTION The system is driven by hardclock(9) interrupts, which occur at hz frequency, and are used to keep track of real time. On systems where another independent clock is available, it is set at stathz frequency, and used to gather timing statistics. Ideally, it would be better to drive stathz with a slightly randomized clock, that is still a fixed number on average, as this would prevent malicious processes from working around the scheduler. If a separate clock is not available, stathz is set to hz. If profiling is enabled, the clock normally used to drive stathz may be run at a higher rate profhz, which must be a multiple of stathz. This will give higher resolution profiling information. Normally, hardclock(9) increments time by tick each time it is called. If the system clock has drifted, adjtime(2) may be used to skew this increment, but by no more than ten times tickadj. These system variables are available by reading KERN_CLOCKRATE from sysctl(2). SEE ALSO adjtime(2), clock_getres(2), sysctl(2), hardclock(9), microtime(9) FreeBSD 14.1-RELEASE-p8 January 14, 2019 FreeBSD 14.1-RELEASE-p8

Navigation Options