All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Newell Jensen <newell.jensen@gmail.com>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] IRQ Handler latency
Date: Sat, 29 Mar 2014 14:02:20 +0100	[thread overview]
Message-ID: <5336C45C.50603@xenomai.org> (raw)
In-Reply-To: <CADoY7i8=SSBVO6R7eiGtMLb9ZnAsXj+mC4L_pDRs3-zDBaP7aQ@mail.gmail.com>

Le 29/03/2014 00:41, Newell Jensen a écrit :
> Hello,
> 
> I have successfully created an RTDM driver that uses the EPIT timer on the
> i.mx6dl-sabresd board.  The reason I created this driver is I wanted to see
> what the hard interrupt latency is using Xenomai.
> 
> AFAIK, I am using the RTDM skin in the proper way.  However, I wanted to
> run my code by the experts (you guys), to see if there is any improvements
> that I can make.
> 
> Here is a link to my code:  http://pastebin.com/TFWLq9mq
> 
> My questions are:
> 
> 1. Is there anything that I am not doing in my code that I should be to
> reduce interrupt latency?

Also, there is probably not much to gain by using this EPIT compared to
using Xenomai timer system. Xenomai timers are just that: executed on a
counter interruption, except that Xenomai timers have an anticipation
system which will help improving the perceived latency.


-- 
Gilles.


  parent reply	other threads:[~2014-03-29 13:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-28 23:41 [Xenomai] IRQ Handler latency Newell Jensen
2014-03-29 13:01 ` Gilles Chanteperdrix
2014-03-29 13:02 ` Gilles Chanteperdrix [this message]
2014-03-29 13:35 ` Gilles Chanteperdrix

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=5336C45C.50603@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=newell.jensen@gmail.com \
    --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.