Re: accurate timing

Jose Miguel Pereira Tavares (mtavares@student.dei.uc.pt)
Wed, 8 Sep 1999 15:32:24 +0100


On Wed, 08 Sep 1999, Oliver Xymoron wrote:
>On Tue, 7 Sep 1999, Virginie Galtier wrote:
>
>> Is it possible to know the time spent by a process into the processor
>> with a better accuracy than jiffies (100 jiffies in one second)?
>
>Not in general. You can recompile with a faster HZ, however.

Or you could take a look into the APIC of the pentium and pentium-pro
(and after). Althoug most pentium MB don't enable the APIC (so probably only if
you are using a p6 could you use it).

Have a look in Intel Pentium Pro software developer's manual volume 3.

-------------------- Jose Miguel Pereira Tavares --------------------

Talking much about oneself can also be a means to conceal oneself.
-- Friedrich Nietzsche

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