Re: Clock monotonic a suggestion

Chris Friesen
2003-03-21T05:42:31Z

Joel Becker wrote:

> The issue for CLOCK_MONOTONIC isn't one of resolution. The
> issue is one of accuracy. If the monotonic clock is ever allowed to
> have an offset or a fudge factor, it is broken. Asking the monotonic
> clock for time must always, without fail, return the exact, accurate
> time since boot (or whatever sentinal time) in the the units monotonic
> clock is using.

I thought that strictly speaking monotonic just meant that it never went backwards.

Chris

--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com