Commit Graph

13 Commits

Author SHA1 Message Date
jkim
647cf29302 Fix a typo in the previous commit. AMD64 and Intel 64 are two brand names. 2011-03-15 17:59:30 +00:00
jkim
d3440080b0 Unconditionally use binuptime(9) for get_cyclecount(9) on i386. Since this
function is almost exclusively used for random harvesting, there is no need
for micro-optimization.  Adjust the manual page accordingly.
2011-03-15 17:14:26 +00:00
ru
0bbb7d3211 Back in 2003, get_cyclecount() was changed to use binuptime() instead
of nanotime().  Reflect this change in a manpage.

Reviewed by:	phk, markm
2009-10-29 09:45:05 +00:00
jhb
9983d9f872 Remove some references to I386_CPU and 80386 CPUs. 2004-11-16 21:22:09 +00:00
markm
23d1651a46 Fix required includes in accordance with recent source fixes.
Submitted by:	bde
2002-03-01 18:43:15 +00:00
ru
f267ba5cc7 mdoc(7) police: tidy up the markup.
This manpage should be repo-copied to get_cyclecount.9.
2002-01-10 10:48:39 +00:00
davidc
5230f59199 Removed <sys/queue.h> from the list of required include files and
corrected the name of the function (get_cyclecount()).

Requested by: bde
2002-01-06 23:56:12 +00:00
davidc
6b067561b6 Update function definitions and required include files to reflect
the current state of the system.

Approved by: alfred
2001-12-26 23:14:04 +00:00
ru
623da62a5a mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
schweikh
2583bfdb34 Fixed typos: dependant -> dependent 2001-05-01 14:10:12 +00:00
bde
4cfcac144d Fixed missing and/or wrong and/or extra includes in synopsis. 2001-02-15 11:47:31 +00:00
ru
843b99e943 mdoc(7) police: minor cleanup. 2000-11-22 08:19:15 +00:00
markm
92be31d0b5 Add a consistent API to a feature that most modern CPUs have; a fast
counter register in-CPU.

This is to be used as a fast "timer", where linearity is more important
than time, and multiple lines in the linearity caused by multiple CPUs
in an SMP machine is not a problem.

This adds no code whatsoever to the FreeBSD kernel until it is actually
used, and then as a single-instruction inline routine (except for the
80386 and 80486 where it is some more inline code around nanotime(9).

Reviewed by:	bde, kris, jhb
2000-11-21 19:55:21 +00:00