Deleted Added
full compact
microuptime.9 (135366) microuptime.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/microuptime.9 135366 2004-09-17 07:24:18Z brooks $
25.\" $FreeBSD: head/share/man/man9/microuptime.9 140140 2005-01-12 21:48:25Z ru $
26.\"
26.\"
27.Dd September, 16 2004
27.Dd September 16, 2004
28.Dt MICROUPTIME 9
29.Os
30.Sh NAME
31.Nm binuptime ,
32.Nm getbinuptime ,
33.Nm microuptime ,
34.Nm getmicrouptime ,
35.Nm nanouptime ,

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

50.Ft void
51.Fn getnanouptime "struct timespec *tsp"
52.Sh DESCRIPTION
53The
54.Fn binuptime
55and
56.Fn getbinuptime
57functions store the time elapsed since boot as a
28.Dt MICROUPTIME 9
29.Os
30.Sh NAME
31.Nm binuptime ,
32.Nm getbinuptime ,
33.Nm microuptime ,
34.Nm getmicrouptime ,
35.Nm nanouptime ,

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

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

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

--- 20 unchanged lines hidden ---