[Rtai] Timer resolution

peak peak peakpeak05 at yahoo.com
Fri Mar 4 09:11:01 CET 2011


Hello,

I use periodic mode before calling start_rt_timer.



________________________________
From: Paolo Mantegazza <mantegazza at aero.polimi.it>
To: peak peak <peakpeak05 at yahoo.com>
Cc: Rtai at rtai.org
Sent: Fri, March 4, 2011 8:29:47 AM
Subject: Re: [Rtai] Timer resolution

peak peak wrote:
> Hello,
> 
> - I am wondering about timer resolution.
> In the configuration when compiling the kernel, it is set at the maximum of 
>1KHz
> On the https://www.rtai.org/documentation/kilauea/html/group__timer.html, "The 
>resolution is that of the 8254 (1193180 Hz) on a UP machine".
> Does this relate to each  actual CPU's clock speed?
> 
> - If I use start_rt_timer(nano2count(1000)). Does it mean the resolution is 
>1000 nanoseconds? Increasing the resolution helps reduce PC's load (i.e. it runs 
>smoother), doesn't it?
> 
For an answer, you have to state what mode you set before calling 
start_rt_timer.

paolo

> Thank you in advance!
>  
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Rtai mailing list
> Rtai at rtai.org
> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.rtai.org/pipermail/rtai/attachments/20110304/0785b60e/attachment-0001.htm>


More information about the Rtai mailing list