From owner-freebsd-smp Sun Apr 5 03:51:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA01403 for freebsd-smp-outgoing; Sun, 5 Apr 1998 03:51:55 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA01384 for ; Sun, 5 Apr 1998 03:51:49 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.5) with ESMTP id MAA07130; Sun, 5 Apr 1998 12:50:33 +0200 (CEST) To: Bruce Evans cc: peter@netplex.com.au, smp@FreeBSD.ORG Subject: Re: more SMP stuff In-reply-to: Your message of "Sun, 05 Apr 1998 20:43:14 +1000." <199804051043.UAA00537@godzilla.zeta.org.au> Date: Sun, 05 Apr 1998 12:50:33 +0200 Message-ID: <7128.891773433@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199804051043.UAA00537@godzilla.zeta.org.au>, Bruce Evans writes: >>I was using your diff to nanosleep, but a 1 second sleep started taking >>724 seconds.... Perhaps it was the nanotime() twiddle I was trying.. > >Hmm. > >I found the bug in microtime(): >(1) the dummy timecounter has a frequency of only 10^5 Hz, but it runs > much faster than that so we get too-large delta counts. Ups, I intended that to be 10^6 Hz... This isn't it anyway, the dummy counter is only used by syscons screensaver calls to getmicroruntime(); -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "Drink MONO-tonic, it goes down but it will NEVER come back up!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message