Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 Add hz(9) man page.
details: https://anonhg.NetBSD.org/src/rev/7ee83f8edcca
branches: trunk
changeset: 514500:7ee83f8edcca
user: wiz <wiz%NetBSD.org@localhost>
date: Tue Sep 04 04:01:49 2001 +0000
description:
Add hz(9) man page.
diffstat:
share/man/man9/Makefile | 4 +-
share/man/man9/hz.9 | 64 +++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+), 2 deletions(-)
diffs (86 lines):
diff -r 87ad7fade357 -r 7ee83f8edcca share/man/man9/Makefile
--- a/share/man/man9/Makefile Tue Sep 04 03:05:54 2001 +0000
+++ b/share/man/man9/Makefile Tue Sep 04 04:01:49 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2001/09/04 03:02:19 wiz Exp $
+# $NetBSD: Makefile,v 1.90 2001/09/04 04:01:49 wiz Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@@ -8,7 +8,7 @@
callout.9 cardbus.9 cnmagic.9 config.9 cons.9 copy.9 cpu_reboot.9 \
ctxsw.9 disk.9 disklabel.9 \
dopowerhooks.9 doshutdownhooks.9 driver.9 ethersubr.9 evcnt.9 \
- extent.9 fetch.9 fork1.9 humanize_number.9 in4_cksum.9 inittodr.9 \
+ extent.9 fetch.9 fork1.9 humanize_number.9 hz.9 in4_cksum.9 inittodr.9 \
intro.9 ioasic.9 ioctl.9 isa.9 isapnp.9 kprintf.9 kthread.9 \
linedisc.9 lock.9 log.9 malloc.9 mbuf.9 \
memcmp.9 memcpy.9 memmove.9 memset.9 \
diff -r 87ad7fade357 -r 7ee83f8edcca share/man/man9/hz.9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/man/man9/hz.9 Tue Sep 04 04:01:49 2001 +0000
@@ -0,0 +1,64 @@
+.\" $NetBSD: hz.9,v 1.1 2001/09/04 04:01:49 wiz Exp $
+.\"
+.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" This code is derived from software contributed to The NetBSD Foundation
+.\" by Thomas Klausner.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\" must display the following acknowledgement:
+.\" This product includes software developed by the NetBSD
+.\" Foundation, Inc. and its contributors.
+.\" 4. Neither the name of The NetBSD Foundation nor the names of its
+.\" contributors may be used to endorse or promote products derived
+.\" from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+.\" POSSIBILITY OF SUCH DAMAGE.
+.\"
+.Dd September 4, 2001
+.Dt HZ 9
+.Os
+.Sh NAME
+.Nm hz
+.Nd system clock frequency
+.Sh SYNOPSIS
+.Fd #include <sys/kernel.h>
+.Va int hz;
+.Sh DESCRIPTION
+.Nm
+specifies the number of times the
+.Xr hardclock 9
+timer ticks per second.
+.Nm
+is hardware-dependant; it can be overridden (if the machine dependant
+code supports this) by defining
+.Em HZ
+in the kernel configuration file (see
+.Xr options 4 ) .
+Only override the default value if you really know what you are
+doing.
+.Sh SEE ALSO
+.Xr options 4 ,
+.Xr callout 9 ,
+.Xr hardclock 9 ,
+.Xr microtime 9 ,
+.Xr time 9
Home |
Main Index |
Thread Index |
Old Index