Re: a faster way to gettimeofday? rdtsc strangeness

H. Peter Anvin (hpa@zytor.com)
7 Mar 2002 10:32:36 -0800


Followup to: <1015515815.4373.61.camel@pc-16.office.scali.no>
By author: Terje Eggestad <terje.eggestad@scali.com>
In newsgroup: linux.dev.kernel
>
> Can /proc/cpuinfo really be trusted in figuring out how long a cycle is?
>

It uses RDTSC, so yes.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>
-
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/