Deleted Added
full compact
microtime.9 (135366) microtime.9 (140140)
1.\" Copyright (c) 2000 Kelly Yancey
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) 2000 Kelly Yancey
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/share/man/man9/microtime.9 135366 2004-09-17 07:24:18Z brooks $
25.\" $FreeBSD: head/share/man/man9/microtime.9 140140 2005-01-12 21:48:25Z ru $
26.\"
27.Dd September 16, 2004
28.Dt MICROTIME 9
29.Os
30.Sh NAME
31.Nm bintime ,
32.Nm getbintime ,
33.Nm microtime ,

--- 16 unchanged lines hidden (view full) ---

50.Ft void
51.Fn getnanotime "struct timespec *tsp"
52.Sh DESCRIPTION
53The
54.Fn bintime
55and
56.Fn getbintime
57functions store the system time as a
26.\"
27.Dd September 16, 2004
28.Dt MICROTIME 9
29.Os
30.Sh NAME
31.Nm bintime ,
32.Nm getbintime ,
33.Nm microtime ,

--- 16 unchanged lines hidden (view full) ---

50.Ft void
51.Fn getnanotime "struct timespec *tsp"
52.Sh DESCRIPTION
53The
54.Fn bintime
55and
56.Fn getbintime
57functions store the system time as a
58.Ft struct bintime
58.Vt "struct bintime"
59at the addresses specified by
60.Fa bt .
61The
62.Fn microtime
63and
64.Fn getmicrotime
65functions perform the same utility, but record the time as a
59at the addresses specified by
60.Fa bt .
61The
62.Fn microtime
63and
64.Fn getmicrotime
65functions perform the same utility, but record the time as a
66.Ft struct timeval
66.Vt "struct timeval"
67instead.
68Similarly the
69.Fn nanotime
70and
71.Fn getnanotime
72functions store the time as a
67instead.
68Similarly the
69.Fn nanotime
70and
71.Fn getnanotime
72functions store the time as a
73.Ft struct timespec .
73.Vt "struct timespec" .
74.Pp
74.Pp
75.Fn Bintime ,
75The
76.Fn bintime ,
76.Fn microtime ,
77and
78.Fn nanotime
77.Fn microtime ,
78and
79.Fn nanotime
80functions
79always query the timecounter to return the current time as precisely as
80possible.
81Whereas
82.Fn getbintime ,
83.Fn getmicrotime ,
84and
85.Fn getnanotime
86functions are abstractions which return a less precise, but

--- 33 unchanged lines hidden ---
81always query the timecounter to return the current time as precisely as
82possible.
83Whereas
84.Fn getbintime ,
85.Fn getmicrotime ,
86and
87.Fn getnanotime
88functions are abstractions which return a less precise, but

--- 33 unchanged lines hidden ---