Re: interrupt latency ?

Jörn Engel (joern@wohnheim.fh-wedel.de)
Mon, 10 Feb 2003 16:43:04 +0100


On Mon, 10 February 2003 09:58:46 -0500, Dan Parks wrote:
>
> Do you happen to have a program (or kernel module...) that times these
> latencies? I've been trying to generate statistics about these kinds of
> latencies, and have yet to be happy with any of my tests.

That should be impossible to do. :)

Write a simple handler for parport or so, that is called when line #1
toggles from low to high and responds by pulling line #2 from low to
high.
Now hook up a signal generator and an oszilloscope and measure the
time from signal generation to the physical reaction.

This way you get all the latency, not just the small amount you can
measure inside the kernel.

Jörn

-- 
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-
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/