Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 Note timeval(9). Add %D to the .Rs/.Re.
details: https://anonhg.NetBSD.org/src/rev/bcbcfef82bb0
branches: trunk
changeset: 754965:bcbcfef82bb0
user: jruoho <jruoho%NetBSD.org@localhost>
date: Tue May 18 06:05:08 2010 +0000
description:
Note timeval(9). Add %D to the .Rs/.Re.
diffstat:
share/man/man9/timecounter.9 | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diffs (78 lines):
diff -r f1b6481d447f -r bcbcfef82bb0 share/man/man9/timecounter.9
--- a/share/man/man9/timecounter.9 Tue May 18 05:57:07 2010 +0000
+++ b/share/man/man9/timecounter.9 Tue May 18 06:05:08 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: timecounter.9,v 1.7 2009/10/25 18:35:45 joerg Exp $
+.\" $NetBSD: timecounter.9,v 1.8 2010/05/18 06:05:08 jruoho Exp $
.\" $OpenBSD: tc_init.9,v 1.4 2007/05/31 19:20:01 jmc Exp $
.\"
.\" Copyright (c) 2004 Alexander Yurchenko <grange%openbsd.org@localhost>
@@ -37,7 +37,7 @@
.\" (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 November 26, 2008
+.Dd May 18, 2010
.Dt TIMECOUNTER 9
.Os
.Sh NAME
@@ -56,13 +56,13 @@
A timecounter is a binary counter which has two properties:
.Bl -bullet -offset indent
.It
-it runs at a fixed, known frequency
+it runs at a fixed, known frequency; and
.It
it has sufficient bits to not roll over in less than approximately
max(2 msec,
.Pf 2/ Em HZ
seconds) (the value 2 here is really 1 + delta, for some
-indeterminate value of delta)
+indeterminate value of delta).
.El
.Pp
The interface between the hardware which implements a timecounter and the
@@ -103,7 +103,7 @@
Frequency of the counter in Hz.
.It Va tc_name
Name of the timecounter.
-Can be any nul-terminated string.
+Can be any NUL-terminated string.
.It Va tc_quality
Used to determine if this timecounter is better than another timecounter \-
higher means better.
@@ -144,7 +144,8 @@
.Va timeval
and
.Va timespec
-structures.
+structures, described in
+.Xr timeval 3 .
.Pp
The
.Va frac
@@ -166,11 +167,10 @@
.Sh CODE REFERENCES
The timecounter framework is implemented in the file
.Pa sys/kern/kern_tc.c .
-.Pp
The
.Va bintime
structure and related functions are defined in the file
-.Pa sys/sys/time.h .
+.In sys/time.h .
.Sh SEE ALSO
.Xr clock_settime 2 ,
.Xr ntp_adjtime 2 ,
@@ -190,9 +190,10 @@
.Xr nanouptime 9 ,
.Xr time_second 9
.Rs
-.%A "Poul-Henning Kamp"
+.%A Poul-Henning Kamp
.%T "Timecounters: Efficient and precise timekeeping in SMP kernels"
.%J "Proceedings of EuroBSDCon 2002, Amsterdam"
+.%D 15-17 November, 2002
.%U http://phk.freebsd.dk/pubs/timecounter.pdf
.Re
.Sh HISTORY
Home |
Main Index |
Thread Index |
Old Index