From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5336C45C.50603@xenomai.org> Date: Sat, 29 Mar 2014 14:02:20 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: Re: [Xenomai] IRQ Handler latency List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Newell Jensen Cc: "xenomai@xenomai.org" 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.