Messages in this thread | | | Date | Fri, 25 Feb 2000 00:35:14 +0100 | From | Pauline Middelink <> | Subject | Re: How to read a timestamp in kernel driver code? |
| |
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 http://www.polyware.nl/~middelink
- 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/
| |