Re: Clock monotonic a suggestion

Joel Becker
2003-03-21T19:38:12Z

On Fri, Mar 21, 2003 at 11:18:55AM -0800, george anzinger wrote:
> I don't really understand how :(
>
> I want a tick on CLOCK_MONOTONIC to be the same size as a tick on
> gettimeofday() over the life of the system. I.e. lock step. The only

Ok, I think we're having a terminology problem here. I wasn't
aware that "CLOCK_MONOTONIC" was a POSIX thing, I merely thought you
were speaking of a kconf define for the proposed monotonic_clock()
interface. That interface is a portable and consistent wrapper around
access to things like the TSC and the cyclone timer. Maybe it needs
renaming.

Joel

--

"But all my words come back to me
In shades of mediocrity.
Like emptiness in harmony
I need someone to comfort me."

Joel Becker
Senior Member of Technical Staff
Oracle Corporation
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127