> reads the RTC device. The patched RTC driver can then
> measure the elapsed time between the interrupt and the
> read from userspace. Voila: latency.
interesting, but I'm not sure there's much advantage over
doing it entirely in user-space with the normal /dev/rtc:
http://brain.mcmaster.ca/~hahn/realfeel.c
it just prints out the raw time difference from when
rtc should have woken up the program. you can do your own histogram;
for summary purposes, something like stdev is probably best.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Jun 15 2001 - 21:00:10 EST