Subject: Re: Avoiding microtime(9) global state
To: Martin Husemann <firstname.lastname@example.org>
From: Frederick Bruckman <email@example.com>
Date: 06/30/2004 14:28:01
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?