Re: Microsecond resolution timers - final word

Pekka Riikonen (priikone@poseidon.pspt.fi)
Tue, 27 Jul 1999 12:19:34 +0300 (EEST)


> 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/