Re: X15 alpha release: as fast as TUX but in user space (fwd)

Ingo Molnar
2001-04-28T15:54:42Z

On Sat, 28 Apr 2001, Andi Kleen wrote:

> You can also just use the cycle counter directly in most modern CPUs.
> It can be read with a single instruction. In fact modern glibc will do
> it for you when you use clock_gettime(CLOCK_PROCESS_CPUTIME_ID, ...)

well, it's not reliable while using things like APM, so i'd not recommend
to depend on it too much.

Ingo