diff options
author | davidc <davidc@FreeBSD.org> | 2002-01-06 23:56:12 +0000 |
---|---|---|
committer | davidc <davidc@FreeBSD.org> | 2002-01-06 23:56:12 +0000 |
commit | 5230f59199e8a6b1d4cd55b86f46fea2d7b4ac53 (patch) | |
tree | f59b747b8465786df9b330afeb1aaba3bdf90d79 /share/man/man9/get_cyclecount.9 | |
parent | 55675dea84392d2453e33d92b02967552db65963 (diff) | |
download | FreeBSD-src-5230f59199e8a6b1d4cd55b86f46fea2d7b4ac53.zip FreeBSD-src-5230f59199e8a6b1d4cd55b86f46fea2d7b4ac53.tar.gz |
Removed <sys/queue.h> from the list of required include files and
corrected the name of the function (get_cyclecount()).
Requested by: bde
Diffstat (limited to 'share/man/man9/get_cyclecount.9')
-rw-r--r-- | share/man/man9/get_cyclecount.9 | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/share/man/man9/get_cyclecount.9 b/share/man/man9/get_cyclecount.9 index 85bc792..1b2966b 100644 --- a/share/man/man9/get_cyclecount.9 +++ b/share/man/man9/get_cyclecount.9 @@ -28,18 +28,17 @@ .Dt GET_CYCLECOUNTER 9 .Os .Sh NAME -.Nm get_cyclecounter +.Nm get_cyclecount .Nd get the CPU's fast counter register contents .Sh SYNOPSIS .In sys/param.h -.In sys/queue.h .In machine/cpufunc.h .In machine/cpu.h .Ft u_int64_t -.Fn get_cyclecounter "void" +.Fn get_cyclecount "void" .Sh DESCRIPTION The -.Fn get_cyclecounter +.Fn get_cyclecount functon uses a register available in most modern CPUs to return a value @@ -64,7 +63,7 @@ Some CPUs 80386 and 80486) do not have such a register, so -.Fn get_cyclecounter +.Fn get_cyclecount on these platforms returns the number of nanoseconds represented by the @@ -92,7 +91,7 @@ register. .Xr nanotime 9 .Sh HISTORY The -.Fn get_cyclecounter +.Fn get_cyclecount function first appeared in .Fx 5.0 . .Sh AUTHORS |