Also mention rdtsc() in passing.
This commit is contained in:
parent
5c8806b7c2
commit
32b5e91691
@ -1,4 +1,4 @@
|
||||
# $NetBSD: mi,v 1.1697 2011/10/25 05:03:55 jruoho Exp $
|
||||
# $NetBSD: mi,v 1.1698 2011/10/25 05:41:33 jruoho Exp $
|
||||
#
|
||||
# Note: don't delete entries from here - mark them as "obsolete" instead.
|
||||
#
|
||||
@ -10859,6 +10859,7 @@
|
||||
./usr/share/man/cat9/x86/nmi_establish.0 comp-sys-catman .cat
|
||||
./usr/share/man/cat9/x86/rdmsr.0 comp-sys-catman .cat
|
||||
./usr/share/man/cat9/x86/rdmsr_safe.0 comp-sys-catman .cat
|
||||
./usr/share/man/cat9/x86/rdtsc.0 comp-sys-catman .cat
|
||||
./usr/share/man/cat9/x86/tsc.0 comp-sys-catman .cat
|
||||
./usr/share/man/cat9/x86/tsc_sync_ap.0 comp-sys-catman .cat
|
||||
./usr/share/man/cat9/x86/tsc_sync_bp.0 comp-sys-catman .cat
|
||||
@ -16907,6 +16908,7 @@
|
||||
./usr/share/man/html9/x86/nmi_establish.html comp-sys-htmlman html
|
||||
./usr/share/man/html9/x86/rdmsr.html comp-sys-htmlman html
|
||||
./usr/share/man/html9/x86/rdmsr_safe.html comp-sys-htmlman html
|
||||
./usr/share/man/html9/x86/rdtsc.html comp-sys-htmlman html
|
||||
./usr/share/man/html9/x86/tsc.html comp-sys-htmlman html
|
||||
./usr/share/man/html9/x86/tsc_sync_ap.html comp-sys-htmlman html
|
||||
./usr/share/man/html9/x86/tsc_sync_bp.html comp-sys-htmlman html
|
||||
@ -23212,6 +23214,7 @@
|
||||
./usr/share/man/man9/x86/nmi_establish.9 comp-sys-man .man
|
||||
./usr/share/man/man9/x86/rdmsr.9 comp-sys-man .man
|
||||
./usr/share/man/man9/x86/rdmsr_safe.9 comp-sys-man .man
|
||||
./usr/share/man/man9/x86/rdtsc.9 comp-sys-man .man
|
||||
./usr/share/man/man9/x86/tsc.9 comp-sys-man .man
|
||||
./usr/share/man/man9/x86/tsc_sync_ap.9 comp-sys-man .man
|
||||
./usr/share/man/man9/x86/tsc_sync_bp.9 comp-sys-man .man
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2011/10/25 05:03:57 jruoho Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2011/10/25 05:41:35 jruoho Exp $
|
||||
|
||||
MAN= nmi.9 rdmsr.9 tsc.9 x86_msr_xcall.9
|
||||
|
||||
@ -10,7 +10,8 @@ MLINKS+=nmi.9 nmi_establish.9 \
|
||||
MLINKS+=rdmsr.9 rdmsr_safe.9 \
|
||||
rdmsr.9 wrmsr.9
|
||||
|
||||
MLINKS+=tsc.9 tsc_tc_init.9 \
|
||||
MLINKS+=tsc.9 rdtsc.9 \
|
||||
tsc.9 tsc_tc_init.9 \
|
||||
tsc.9 tsc_sync_ap.9 \
|
||||
tsc.9 tsc_sync_bp.9 \
|
||||
tsc.9 tsc_sync_drift.9
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: rdmsr.9,v 1.1 2011/10/25 05:03:57 jruoho Exp $
|
||||
.\" $NetBSD: rdmsr.9,v 1.2 2011/10/25 05:41:35 jruoho Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2011 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -109,4 +109,5 @@ instruction, available in
|
||||
via
|
||||
.Fn x86_cpuid .
|
||||
.Sh SEE ALSO
|
||||
.Xr rdtsc 9 ,
|
||||
.Xr x86_msr_xcall 9
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: tsc.9,v 1.3 2011/03/13 04:57:21 jruoho Exp $
|
||||
.\" $NetBSD: tsc.9,v 1.4 2011/10/25 05:41:35 jruoho Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2011 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -27,7 +27,7 @@
|
||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd March 13, 2011
|
||||
.Dd October 25, 2011
|
||||
.Dt TSC 9 x86
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -35,6 +35,8 @@
|
||||
.Nd Time Stamp Counter
|
||||
.Sh SYNOPSIS
|
||||
.In x86/x86/tsc.h
|
||||
.Ft uint64_t
|
||||
.Fn rdtsc "void"
|
||||
.Ft void
|
||||
.Fn tsc_tc_init "void"
|
||||
.Ft void
|
||||
@ -85,6 +87,11 @@ But the basic premise is still guaranteed:
|
||||
is a monotonically increasing counter.
|
||||
.Sh FUNCTIONS
|
||||
.Bl -tag -width abcd
|
||||
.It Fn rdtsc ""
|
||||
The
|
||||
.Fn rdtsc
|
||||
function returns the value read from
|
||||
.Dv RDTSC .
|
||||
.It Fn tsc_tc_init ""
|
||||
The
|
||||
.Fn tsc_tc_init
|
||||
@ -148,4 +155,5 @@ attach.
|
||||
.Xr gettimeofday 2 ,
|
||||
.Xr hpet 4 ,
|
||||
.Xr hz 9 ,
|
||||
.Xr rdmsr 9 ,
|
||||
.Xr timecounter 9
|
||||
|
Loading…
Reference in New Issue
Block a user