Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 1998 22:55:49 +0200
From:      pb@fasterix.freenix.org (Pierre Beyssac)
To:        phk@critter.freebsd.dk (Poul-Henning Kamp)
Cc:        gljohns@bellsouth.net (Glenn Johnson), freebsd-current@FreeBSD.ORG
Subject:   Re: error when compiling kernel with SOFTUPDATES
Message-ID:  <19980402225549.AY32283@@>
In-Reply-To: <2061.891499248@critter.freebsd.dk>; from Poul-Henning Kamp on Apr 2, 1998 08:40:48 %2B0200
References:  <199804020237.UAA00748@gforce.bellsouth.net> <2061.891499248@critter.freebsd.dk>

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

  For each there is fast but less precise
  version "get{nano|micro}time" which will return a time which is up
  to 1/HZ previous to the call, whereas the raw version "{nano|micro}time"
  will return a timestamp which is as precise as possible.

-- 
Pierre Beyssac	      pb@fasterix.frmug.org pb@fasterix.freenix.org
{Free,Net,Open}BSD, Linux : il y a moins bien, mais c'est plus cher
    Free domains: http://www.eu.org/ or mail dns-manager@EU.org

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?19980402225549.AY32283>