Re: a faster way to gettimeofday? rdtsc strangeness

From: H. Peter Anvin (hpa@zytor.com)
Date: Thu Mar 07 2002 - 13:32:36 EST


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/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:01:06 EST