From: Jan Kiszka <jan.kiszka@domain.hid>
To: Markus.Franke@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] measuring external interrupt latency
Date: Fri, 15 Dec 2006 18:16:26 +0100 [thread overview]
Message-ID: <4582D86A.9020600@domain.hid> (raw)
In-Reply-To: <4582D4D0.3060404@domain.hid>
[-- 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 --]
prev parent reply other threads:[~2006-12-15 17:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-15 17:01 [Xenomai-help] measuring external interrupt latency Markus Franke
2006-12-15 17:16 ` Jan Kiszka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4582D86A.9020600@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=Markus.Franke@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.