lkml.org 
[lkml]   [2000]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.067 / U:1.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site