* [Xenomai-help] measuring external interrupt latency
@ 2006-12-15 17:01 Markus Franke
2006-12-15 17:16 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Markus Franke @ 2006-12-15 17:01 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 702 bytes --]
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.
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
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?
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
[-- Attachment #2: Markus.Franke.vcf --]
[-- Type: text/x-vcard, Size: 245 bytes --]
begin:vcard
fn:Markus Franke
n:Franke;Markus
adr;quoted-printable:;;Vettersstra=C3=9Fe 64/722;Chemnitz;Saxony;09126;Germany
email;internet:Markus.Franke@domain.hid
x-mozilla-html:FALSE
url:http://www.tu-chemnitz.de/~franm
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] measuring external interrupt latency
2006-12-15 17:01 [Xenomai-help] measuring external interrupt latency Markus Franke
@ 2006-12-15 17:16 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2006-12-15 17:16 UTC (permalink / raw)
To: Markus.Franke; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 1710 bytes --]
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-15 17:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-15 17:01 [Xenomai-help] measuring external interrupt latency Markus Franke
2006-12-15 17:16 ` Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.