MIME-Version: 1.0 Date: Wed, 25 Jun 2008 10:06:08 +0200 From: Matthieu In-Reply-To: References: Message-ID: <3ce71a0b60f0e9f5f568ac85f5f5b85b@domain.hid> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai-help] xenomai scheduler's ticks period Reply-To: matthieu.connaulte_xenomai@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 On Tue, 24 Jun 2008 19:10:24 +0200, Matthieu wrote: > On Tue, 24 Jun 2008 18:40:51 +0200, Gilles Chanteperdrix > wrote: >> Matthieu wrote: >>> >>> On Tue, 24 Jun 2008 16:27:42 +0200, Gilles Chanteperdrix >>> wrote: >>>> Matthieu wrote: >>>>> Let me know if I've done something wrong ... >>>> rt_timer_read belongs to the native skin, not to the vxworks skin ! >>>> >>>> -- >>>> Gilles. >>> >>> Ok, but I don't really see why does mixing vxworks task with a xenoma= i >>> instruction that not depends on vxworks scheduler is a problem. if I >> just >>> get time, does the task switch to xenomai scheduler ?. However, if it= 's >>> really a problem, what can I use to get a pricise time, as I can't us= e >>> getTick anymore. Philippe suggested xntbase time base services ? >> >> You can use rt_timer_read(), but you should not assume that this retur= ns >> a nanoseconds count, this depends on the timing configuration of the >> native skin. >> >> -- >> > Gilles. > Ok, but in fact, that's not my problem : I don't understand why the loo= p > doesn't stop on taskDelay(1), as there is no tick on vxworks scheduler > (due > to tick_arg=3D0) ? >=20 > Matthieu >=20 >=20 I've tested a programme with a task that suspend itself, and a main loop that resume the task when it is suspended. The task has to be rescheldue = to continue its execution but the tick_arg value has no influence on the tim= e the task waits for rescheduling. That's make me think the vxworks schedul= er isn't rhythmed by this tick. Could you explain me what's going on ? thank you in advance Matthieu