Deleted Added
full compact
clocks.7 (69027) clocks.7 (76190)
1.\"
2.\" Copyright (c) 1996 Joerg Wunsch
3.\"
4.\" All rights reserved.
5.\"
6.\" This program is free software.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

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

20.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27.\"
1.\"
2.\" Copyright (c) 1996 Joerg Wunsch
3.\"
4.\" All rights reserved.
5.\"
6.\" This program is free software.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

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

20.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27.\"
28.\" $FreeBSD: head/share/man/man7/clocks.7 69027 2000-11-22 09:35:58Z ru $
28.\" $FreeBSD: head/share/man/man7/clocks.7 76190 2001-05-01 14:10:12Z schweikh $
29.\" "
30.Dd April 1, 1996
31.Os
32.Dt CLOCKS 7
33.Sh NAME
34.Nm clocks
35.Nd various system timers
36.Sh SYNOPSIS

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

121available to applications.
122.It
123The TSC clock (64-bit register) on fifth-generation or later x86 systems.
124This is a real clock with a frequency that is equivalent to the number of
125cycles per second of the CPU(s).
126Its frequency can be found using the sysctl
127.Sy machdep.tsc_freq .
128It is used to interpolate between values of the scheduling clock.
29.\" "
30.Dd April 1, 1996
31.Os
32.Dt CLOCKS 7
33.Sh NAME
34.Nm clocks
35.Nd various system timers
36.Sh SYNOPSIS

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

121available to applications.
122.It
123The TSC clock (64-bit register) on fifth-generation or later x86 systems.
124This is a real clock with a frequency that is equivalent to the number of
125cycles per second of the CPU(s).
126Its frequency can be found using the sysctl
127.Sy machdep.tsc_freq .
128It is used to interpolate between values of the scheduling clock.
129It is only available to applications in a purely machine-dependant manner.
129It is only available to applications in a purely machine-dependent manner.
130.El
131.Pp
132Summary: if
133.Ql HZ
134isn't 1000000 then the application is probably using the wrong clock.
135.Sh SEE ALSO
136.Xr gprof 1 ,
137.Xr getitimer 2 ,

--- 12 unchanged lines hidden ---
130.El
131.Pp
132Summary: if
133.Ql HZ
134isn't 1000000 then the application is probably using the wrong clock.
135.Sh SEE ALSO
136.Xr gprof 1 ,
137.Xr getitimer 2 ,

--- 12 unchanged lines hidden ---