httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: usec vs sec
Date Mon, 28 Aug 2000 23:10:10 GMT
On Mon, 28 Aug 2000, Mike Abbott wrote:

> Without losing resolution, it is harder to optimize away the
> gettimeofday() per request in 2.0 than it was to optimize away the
> time() per request in 1.3.  Is microsecond resolution for
> r->request_time absolutely necessary?  What's the penalty for lost
> resolution (for example, to 10ms or 1s)?

There shouldn't be a penalty.  HTTP has 1s granularity AFAIK, so backing
the resolution down to 1s should be alright.  Dean had a reason for using
usecs, but I don't remember what it is right now.


Ryan Bloom               
406 29th St.
San Francisco, CA 94131

View raw message