On Fri, 11 May 2012, burnsmicro wrote:
>
>
> --- In "al" <> wrote:
> >
> > I do this routinely on a TS-7500 by using a high-priority thread that
> > does nothing but execute a loop that calls nanosleep() (standard Posix
> > API) and then calls a short routine. If you need tight control over
> > jitter, consider using a hardware solution. (Standard Linux is NOT a
> > real-time operating system.)
>
> Thanks. I will fall back on this if I have difficulty fighting how to
> deal with the SIGALRM resulting from the use of setitimer()
If you have difficulty doing that (it's standard Unix/Linux stuff and there
is tons of example code google-able), then you'll have problem doing kernel
code.
Despite setitimer having an interface that can set microseconds, the
smallest interval it can do is normally the jiffy interval - 10millisecs
and multiples thereof. Modern kernels do have high performance timer
options but I am not sure if they are enabled/coded in the TS kernels.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|