Re: How to read a timestamp in kernel driver code?

From: Pauline Middelink (
Date: Thu Feb 24 2000 - 18:35:14 EST

On Thu, 24 Feb 2000 around 15:58:57 -0500, Mike A. Harris wrote:
> I'm working on some stuff in keyboard.c that is timing sensitive
> right now. What I want to do is keep track of the elapsed time
> between to successive calls to handle_scancode().
> How exactly would I do this? I've snooped around here and there,
> and it appears that something like:

If you don't need an absolute time, but just the difference,
you could just look at the time difference between jiffies?

    Met vriendelijke groet,
        Pauline Middelink

PGP Key fingerprint = DE 6B D0 D9 19 AD A7 A0  58 A3 06 9D B6 34 39 E2
For more details look at my website

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:11 EST