HARDCLOCK(9) | Kernel Developer's Manual | HARDCLOCK(9) |
hardclock
—
real-time system clock
#include
<sys/systm.h>
void
hardclock
(struct clockframe
*frame);
hardclock
()
implements the real-time system clock, interrupting
hz(9) times a second. The argument
frame is an opaque, machine dependent structure that
encapsulates the previous machine state.
hardclock
()
performs a variety of time related housekeeping tasks, such as:
statclock
().softclock
()
directly if the current interrupt priority is low enough.hardclock
() is implemented in the file
sys/kern/kern_clock.c.
June 26, 2020 | OpenBSD-current |