
Oct. 8, 1998
3:54 p.m.
In message <199810072258.PAA01063@shade.twinsun.com>, Paul Eggert <eggert@twinsun.com> writes
Don't forget that the old clock_t clock(void); is still available
It's available, but it wouldn't work well, for three reasons.
First, `clock' reports the sum of the CPU times of the process and its children; this is not the same as TIME_MONOTONIC.
clock should report the CPU time used by the process, *not* any other processes that happen to be related in some way. -- Clive D.W. Feather | Regulation Officer, LINX | Work: <clive@linx.org> Tel: +44 1733 705000 | (on secondment from | Home: <cdwf@i.am> Fax: +44 1733 353929 | Demon Internet) | <http://i.am/davros> Written on my laptop; please observe the Reply-To address