Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Apr 1998 12:50:33 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        peter@netplex.com.au, smp@FreeBSD.ORG
Subject:   Re: more SMP stuff 
Message-ID:  <7128.891773433@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 05 Apr 1998 20:43:14 %2B1000." <199804051043.UAA00537@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7128.891773433>