All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] rt_task_set_periodic and different time base
@ 2007-05-14 20:03 Jeff Koftinoff
  2007-05-14 20:11 ` Jan Kiszka
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff Koftinoff @ 2007-05-14 20:03 UTC (permalink / raw)
  To: xenomai

Hi everyone.

I am going to be running xenomai on custom hardware to process audio.  I 
want my processes to be scheduled via rt_task_set_periodic(), but I do 
not want to specify time in jiffies or nanoseconds.

I need to specify time in terms of audio sample interrupts which can be 
generated by an external signal and can be slightly variable via a VCXO 
for synchronization.

The processes that I run must be synchronous to the audio, which is 
asynchronous to any other clock period/time in the system.

Should I modify Xenomai to make my audio interrupt the source of the 
jiffies? What is recommended in this case?

My original thought was to use rt_intr_wait() in my user mode program 
and do the scheduling of sub-tasks myself.

But it would be ideal if rt_task_set_periodic() could just use the 
appropriate time source itself.

Regards,
Jeff Koftinoff
www.jdkoftinoff.com







^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-05-15  0:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-14 20:03 [Xenomai-help] rt_task_set_periodic and different time base Jeff Koftinoff
2007-05-14 20:11 ` Jan Kiszka
2007-05-14 20:45   ` Jeff Koftinoff
2007-05-14 21:42     ` Jan Kiszka
2007-05-15  0:33       ` Jeff Koftinoff

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.