httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@covalent.net>
Subject Re: SGI Patch 10xpatch-2.0a6-2: Reduce time resolution to 1 sec
Date Fri, 23 Feb 2001 20:12:46 GMT
From: "Bill Stoddard" <bill@wstoddard.com>
Sent: Friday, February 23, 2001 2:01 PM


> > Doesn't this remove the advantage of using apr_time_t's?  The whole point
> > of that format was that we were using microseconds instead of seconds.  If
> > that is our goal, then why don't we just change what an apr_time_t is?

> apr_time_t should maintain 1 microsecond resolution (there are legit uses for
> it).  Reducing resolutions should be a runtime or compile time option for
> folks who want speed at the expense of function.

and be localized to httpd, please, not infesting apr.  If we want to provide an
apr_now_rough() for ~1s resolution (your 1s event clock clearly might not trip
on the precise rollover from second to second) then I'm +1... but we can't 
change the existing definition.





Mime
View raw message