Date: Sun, 29 Nov 1998 12:31:03 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_clock.c Message-ID: <199811292031.MAA00945@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 1998/11/29 12:31:03 PST
Modified files:
sys/kern kern_clock.c
Log:
Make the previous behaviour the default, add a sysctl which you
can set if your hw/sw produces the "calcru negative..." message.
Setting the alternate method (sysctl -w kern.timecounter.method=1)
makes the the get{nano|micro}*() functions call the real thing at
resulting in a measurable but minor overhead.
I decided to NOT have the "calcru" change the method automatically
because you should be aware of this problem if you have it.
The problems currently seen, related to usleep and a few other corners
are fixed for both methods.
Revision Changes Path
1.86 +42 -12 src/sys/kern/kern_clock.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811292031.MAA00945>
