lkml.org 
[lkml]   [1999]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateTue, 27 Jul 1999 12:19:34 +0300 (EEST)
FromPekka Riikonen <>
SubjectRe: Microsecond resolution timers - final word

> Here's an example. I send a bit on the data line, and the device responds
> by bringing the ACK line high .. I then have to bring ACK low and send the
> next data bit within 20-40 usecs.
>
> Is gettimeofday accurate enough for this?
>
Yes, you might want to try do_gettimeofday(). I suppose it is accurate
enough. See include/linux/time.h for more...

Pekka


-
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:53    [from the cache]
©2003-2010