Deleted Added
full compact
get_cyclecount.9 (219674) get_cyclecount.9 (231564)
1.\" Copyright (c) 2000 Mark R V Murray
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 Mark R V Murray
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/get_cyclecount.9 219674 2011-03-15 17:59:30Z jkim $
25.\" $FreeBSD: head/share/man/man9/get_cyclecount.9 231564 2012-02-12 18:29:56Z ed $
26.\"
27.Dd March 15, 2011
28.Dt GET_CYCLECOUNT 9
29.Os
30.Sh NAME
31.Nm get_cyclecount
32.Nd get the CPU's fast counter register contents
33.Sh SYNOPSIS
34.In sys/param.h
35.In sys/systm.h
36.In machine/cpu.h
26.\"
27.Dd March 15, 2011
28.Dt GET_CYCLECOUNT 9
29.Os
30.Sh NAME
31.Nm get_cyclecount
32.Nd get the CPU's fast counter register contents
33.Sh SYNOPSIS
34.In sys/param.h
35.In sys/systm.h
36.In machine/cpu.h
37.Ft u_int64_t
37.Ft uint64_t
38.Fn get_cyclecount "void"
39.Sh DESCRIPTION
40The
41.Fn get_cyclecount
42function uses a register
43available in most modern CPUs
44to return a value
45that is monotonically increasing

--- 50 unchanged lines hidden ---
38.Fn get_cyclecount "void"
39.Sh DESCRIPTION
40The
41.Fn get_cyclecount
42function uses a register
43available in most modern CPUs
44to return a value
45that is monotonically increasing

--- 50 unchanged lines hidden ---