*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> hardclock (9)              
Title
Content
Arch
Section
 

HARDCLOCK(9)

Contents


NAME    [Toc]    [Back]

     hardclock - real-time timer

SYNOPSIS    [Toc]    [Back]

     void
     hardclock(struct clockframe *);

DESCRIPTION    [Toc]    [Back]

     The hardclock() function gets called hz(9) times per second.  It performs
     different tasks:
     +o   Run the current process's virtual and profile time (decrease the corresponding
 timers, if they are activated, and generate SIGVTALRM or
         SIGPROF, respectively).
     +o   Increment the time-of-day, taking care of any ntpd(8) or adjtime(2)
         induced changes and leap seconds, as well as any necessary compensations
 to keep in sync with PPS signals or external clocks, if support
         for this is in the kernel (see options(4)).
     +o   Schedule softclock interrupts if any callouts should be triggered
         (see callout(9)).

SEE ALSO    [Toc]    [Back]

      
      
     adjtime(2), ntp_adjtime(2), signal(7), ntpd(8), callout(9), hz(9)

BSD                            September 5, 2001                           BSD
[ Back ]
 Similar pages
Name OS Title
timer_settime IRIX set the expiration time for a posix timer
timer_gettime IRIX get the time remaining before posix timer expiration
pri_posix_t HP-UX real-time scheduling operations
sched_setsc HP-UX real-time scheduling operations
sched_rr_ge HP-UX real-time scheduling operations
sched_getpa HP-UX real-time scheduling operations
sched_get_p HP-UX real-time scheduling operations
rtsched HP-UX real-time scheduling operations
PRI_POSIX_T HP-UX real-time scheduling operations
rtap IRIX real-time application program
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service