From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4C1672ED.4080101@domain.hid> Date: Mon, 14 Jun 2010 20:20:29 +0200 From: Ramon MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------010903030502010905090206" Subject: [Xenomai-help] rt_task_set_periodic Reply-To: ramoncostacastello@domain.hid List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org This is a multi-part message in MIME format. --------------010903030502010905090206 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I'm beginning to work with periodical task in xenomai. Currently I'm using rt_task_set_periodic. The third parameter RTIME period allows to specify the period in clock ticks (taken from : http://www.xenomai.org/documentation/xenomai-2.5/html/api/group__task.html). I would like to know how can I get information from the clock tick (which is the value? , can be changed ?) ? Why Is the minimum period I can use in user space ? (experimentally it seems to be 0.1ms in my system) Working in kernel space this period is lower ? When using the POSIX skin int pthread_make_periodic_np ( pthread_t thread,struct timespec * starttp,struct timespec * periodtp ) the resolution is the same ? (performance will be the same ?) Is there any simple approach to develop a periodic task using the POSIX commands (pthread_cond_timedwait ?) ? Thank you in advance Ramon --------------010903030502010905090206 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi,

I'm beginning to work with periodical task in xenomai. Currently I'm using rt_task_set_periodic.

The third parameter RTIME period allows to specify the period in  clock ticks (taken from : http://www.xenomai.org/documentation/xenomai-2.5/html/api/group__task.html).

I would like to know how can I get information from the clock tick (which is the value? , can be changed ?) ?

Why Is the minimum period I can use in user space ? (experimentally it seems to be 0.1ms in my system)
Working in kernel space this period is lower ?


When using the POSIX skin
int pthread_make_periodic_np    (    pthread_t     thread,struct timespec *     starttp,struct timespec *     periodtp    )
the resolution is the same ? (performance will be the same ?)

Is there any simple approach to develop a periodic task using the POSIX     commands (pthread_cond_timedwait ?) ?



Thank you in advance
Ramon
--------------010903030502010905090206--