Add hz(9) man page.

This commit is contained in:
wiz 2001-09-04 04:01:49 +00:00
parent 6d1c80037a
commit b35bc23d45
2 changed files with 66 additions and 2 deletions

View File

@ -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 @@ MAN= access.9 altq.9 arp.9 audio.9 autoconf.9 bitmask_snprintf.9 \
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 \

64
share/man/man9/hz.9 Normal file
View File

@ -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