From owner-freebsd-current Thu Apr 2 12:59:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA03910 for freebsd-current-outgoing; Thu, 2 Apr 1998 12:59:46 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA03890 for ; Thu, 2 Apr 1998 12:59:35 -0800 (PST) (envelope-from pb@fasterix.frmug.org) Received: (from uucp@localhost) by frmug.org (8.8.8/frmug-2.2/nospam) with UUCP id WAA21822; Thu, 2 Apr 1998 22:56:02 +0200 (CEST) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.8.8/8.8.5/pb-19970302) id WAA23002; Thu, 2 Apr 1998 22:55:49 +0200 (CEST) Message-ID: <19980402225549.AY32283@@> 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 References: <199804020237.UAA00748@gforce.bellsouth.net> <2061.891499248@critter.freebsd.dk> X-Mailer: Mutt 0.59.1e Mime-Version: 1.0 In-Reply-To: <2061.891499248@critter.freebsd.dk>; from Poul-Henning Kamp on Apr 2, 1998 08:40:48 +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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