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

From: Ingo Molnar (mingo@elte.hu)
Date: Sat Apr 28 2001 - 10:52:42 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:20 EST