Subject: Re: Culling a few calls to microtime()
To: None <itojun@iijlab.net>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-kern
Date: 08/01/2002 14:25:41
On Thu, Aug 01, 2002 at 11:43:49AM +0900, itojun@iijlab.net wrote:

> >This is a little change to reduce a few calls to microtime() based on
> >some other similar code in the kernel.  Seem reasonable?
> 
> 	i'm not too sure, but mono_time is safer?  no?

microtime() operates on the "time" variable, not the "mono_time"
variable.  This is for timestamps only, so I think using the "time" is
better than using the unadjusted "mono_time" (which was the original
intent of using microtime() anyways).

Simon.
--
Simon Burge                                   <simonb@wasabisystems.com>
NetBSD Development, Support and Service:   http://www.wasabisystems.com/