Re: Error in x86 CPU capabilities starting with test5/6

From: Andi Kleen (ak@suse.de)
Date: Fri Nov 17 2000 - 08:54:36 EST


On Fri, Nov 17, 2000 at 08:40:27AM -0500, Jeff Garzik wrote:
> Andi Kleen wrote:
> > No it would not. Often you want cycle accurate couting for profiling
> > purposes.
>
> Isn't that why /dev/cpu/%d/msr exists?

Requires either root privileges or is a big security hole.

[of course rdtsc only works properly on UP or with bind_cpu()]
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:13 EST