Date: Thu, 02 Apr 1998 23:58:24 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: pb@fasterix.freenix.org (Pierre Beyssac) Cc: gljohns@bellsouth.net (Glenn Johnson), freebsd-current@FreeBSD.ORG Subject: Re: error when compiling kernel with SOFTUPDATES Message-ID: <366.891554304@critter.freebsd.dk> In-Reply-To: Your message of "Thu, 02 Apr 1998 22:55:49 %2B0200." <19980402225549.AY32283@@>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <19980402225549.AY32283@@>, Pierre Beyssac writes: >Poul-Henning Kamp writes: >> change "tv = time" to "getmicrotime(&tv);" > >Should getmicrotime() really be prefered in all cases ? From >kern_clock.c, it looks like microtime() has much less overhead when >you don't need a very accurate timestamp: You got that backwards, look at the code as well as the comments. microtime is expensive but precise. getmicrotime is fast but up to 1/hz old. -- 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-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?366.891554304>