Markus Franke wrote: > Dear Xenomai users/developers, > > I want to measure external interrupt latencies. Therefore, I have a > parallel port loopback connector (25 pins). Pin 9 (D7) and Pin 10 (ACK) > are connected. I would like to trigger an interrupt via Pin 9 and > measure the time till the ISR is entered.
If you trigger the IRQ with the target itself, you do not generate realistic load. Reason: the task (RT or not) flipping the related port bit will always move the system into a similar state right before the IRQ event. With an asynchronous external IRQ source, you can hit the system in far more interesting states (given you generate adequate load, see TROUBLESHOOTING). > > Can somebody give me a hint how to start writing such an application. I > read something about RTDM and I also had a look on the IRQ-Loop Why do you want to rewrite the existing tests? As an exercise, or is something missing? If the latter, I would rather suggest to enhance them (and post patches afterwards :) ). > testsuite. I am wondering whether I can reuse some of this code which is > written there. Besides, is it really necessary to use the RTDM framework? Technically, you don't need RTDM, you could achieve most features also via other skins (some scenarios will still require kernel space nevertheless). We picked RTDM for the tests to benchmark scenarios you will (should) have later on your real system as well: cleanly separated applications talking to RTDM drivers controlling the hardware. > > Sorry, but I am really new to Xenomai. I just want to have some small > hints how to start developing. > > > Thanks in advance, > > Markus Franke > Jan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
