Module Name: src Committed By: jruoho Date: Thu Mar 25 15:17:38 UTC 2010
Modified Files: src/share/man/man9: hardclock.9 Log Message: Vaguely describe the frame-parameter. Beautify. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/share/man/man9/hardclock.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/hardclock.9 diff -u src/share/man/man9/hardclock.9:1.2 src/share/man/man9/hardclock.9:1.3 --- src/share/man/man9/hardclock.9:1.2 Wed Apr 30 13:10:58 2008 +++ src/share/man/man9/hardclock.9 Thu Mar 25 15:17:38 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: hardclock.9,v 1.2 2008/04/30 13:10:58 martin Exp $ +.\" $NetBSD: hardclock.9,v 1.3 2010/03/25 15:17:38 jruoho Exp $ .\" .\" Copyright (c) 2001 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd September 5, 2001 +.Dd March 25, 2010 .Dt HARDCLOCK 9 .Os .Sh NAME @@ -35,15 +35,23 @@ .Nd real-time timer .Sh SYNOPSIS .Ft void -.Fn hardclock "struct clockframe *" +.Fn hardclock "struct clockframe *frame" .Sh DESCRIPTION The .Fn hardclock -function gets called +function is called .Xr hz 9 times per second. -It performs different tasks: -.Bl -bullet -compact +It implements the real-time system clock. +The argument +.Va frame +is an opaque, +machine-dependent structure that encapsulates the previous machine state. +.Pp +The +.Fn hardclock +performs different tasks such as: +.Bl -bullet -offset indent .It Run the current process's virtual and profile time (decrease the corresponding timers, if they are activated, and generate