hardclock man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

HARDCLOCK(9)		     OpenBSD Kernel Manual		  HARDCLOCK(9)

NAME
     hardclock - real-time system clock

SYNOPSIS
     #include <sys/systm.h>

     void
     hardclock(struct clockframe *frame);

DESCRIPTION
     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

	   o   If the current process has virtual or profiling interval
	       timers, update the timers and deliver appropriate signals.

	   o   If there is no separate statistics clock, execute statclock().

	   o   Increment the time of day, implementing any adjustments
	       requested by adjtime(2) or required as a result of running an
	       NTP daemon or other configured external clock.

	   o   Update the real-time timeout queue, calling softclock()
	       directly if the current interrupt priority is low enough.

CODE REFERENCES
     hardclock() is implemented in the file sys/kern/kern_clock.c.

SEE ALSO
     adjtime(2), hz(9), microtime(9), spl(9), time(9), timeout(9)

OpenBSD 4.9			 May 31, 2007			   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net