From owner-cvs-all Sun Nov 29 12:30:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA01284 for cvs-all-outgoing; Sun, 29 Nov 1998 12:30:28 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA01277; Sun, 29 Nov 1998 12:30:24 -0800 (PST) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA00945; Sun, 29 Nov 1998 12:31:03 -0800 (PST) Date: Sun, 29 Nov 1998 12:31:03 -0800 (PST) Message-Id: <199811292031.MAA00945@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_clock.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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