Re: Avoiding microtime(9) global state
Frederick Bruckman <[email protected]> Wed, 30 Jun 2004 14:28:01 -0500 (CDT)
| Newsgroups | gmane.os.netbsd.devel.smp |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 30 Jun 2004, Martin Husemann wrote: > On Wed, Jun 30, 2004 at 11:59:30AM -0500, Frederick Bruckman wrote: >> clock_gettime() is the POSIX interface to the time of day clock, >> so I guess someone will want to use it. > > Sure - but we were talking about time-critical callers. > On the other hand, microtime has quite a lot of time-critical callers, > which would benefit from any simplification. Simpler how? Where do you propose getting the seconds part of the return value from, if not from the time of day clock? Frederick