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/