httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject RE: usec vs sec
Date Wed, 30 Aug 2000 01:55:51 GMT
> From: Mike Abbott [mailto:mja@trudge.engr.sgi.com]
> Sent: Tuesday, August 29, 2000 5:37 PM
> To: new-httpd@apache.org
> Subject: Re: usec vs sec
> 
> 
> > I don't like the idea of -ever- changing the declared data 
> type of the
> > APR ap_time_t
> 
> I have no intention of changing its granularity, only its 
> precision, and
> even that will be user-controllable of course.  In other words,
> apr_time_t will still have units of microseconds but the time 
> of day may
> be truncated to the nearest second or 10 ms or whatever, measured in
> usec.
> 
> I'm just thinking of making it possible for apr_now() to return
> 967588209000000 instead of 967588209344723 to avoid calling
> gettimeofday() for every request.

I see no reason that could ever be a problem.  Apache 1.3 worked
for the last many years.  So request processing time is 0 or 1
seconds... that shouldn't be bad, just possibly useless :)

Mime
View raw message