Linux-kernel mailing list archive 1999-36,: Re: accurate timing

# Re: accurate timing

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jamie Lokier: "Re: Problem allocating DMA memory"
- Previous message: Vitezslav Samel: "[PATCH] off-by-one bug in do_process_times() in kernel/sched.c"
- Maybe in reply to: Virginie Galtier: "accurate timing"
- Next in thread: Oliver Xymoron: "Re: accurate timing"
- Reply: Oliver Xymoron: "Re: accurate timing"

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/

- Next message: Jamie Lokier: "Re: Problem allocating DMA memory"
- Previous message: Vitezslav Samel: "[PATCH] off-by-one bug in do_process_times() in kernel/sched.c"
- Maybe in reply to: Virginie Galtier: "accurate timing"
- Next in thread: Oliver Xymoron: "Re: accurate timing"
- Reply: Oliver Xymoron: "Re: accurate timing"