Re: VM Report was:Re: Break 2.4 VM in five easy steps

Mark Hahn (hahn@coffee.psychology.mcmaster.ca)
Sat, 9 Jun 2001 06:33:13 +0000 (GMT)


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