* [Xenomai-core] rt_timer_ticks2ns
@ 2005-10-11 14:10 Steven Seeger
2005-10-11 14:24 ` Gilles Chanteperdrix
0 siblings, 1 reply; 4+ messages in thread
From: Steven Seeger @ 2005-10-11 14:10 UTC (permalink / raw)
To: xenomai@xenomai.org
In periodic mode, rt_timer_ticks2ns should convert ticks to periodic
jiffies. However, it always seems to return 0.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-core] rt_timer_ticks2ns
2005-10-11 14:10 [Xenomai-core] rt_timer_ticks2ns Steven Seeger
@ 2005-10-11 14:24 ` Gilles Chanteperdrix
2005-10-11 14:26 ` Steven Seeger
0 siblings, 1 reply; 4+ messages in thread
From: Gilles Chanteperdrix @ 2005-10-11 14:24 UTC (permalink / raw)
To: Steven Seeger; +Cc: xenomai@xenomai.org
Steven Seeger wrote:
> In periodic mode, rt_timer_ticks2ns should convert ticks to periodic
> jiffies. However, it always seems to return 0.
Did you call rt_timer_start before rt_timer_tick2ns ?
--
Gilles Chanteperdrix.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-core] rt_timer_ticks2ns
2005-10-11 14:24 ` Gilles Chanteperdrix
@ 2005-10-11 14:26 ` Steven Seeger
2005-10-11 14:45 ` Gilles Chanteperdrix
0 siblings, 1 reply; 4+ messages in thread
From: Steven Seeger @ 2005-10-11 14:26 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai@xenomai.org
Do you have to ask? :)
rt_timer_start(125000);
On 10/11/05 7:24 AM, "Gilles Chanteperdrix"
<gilles.chanteperdrix@xenomai.org> wrote:
> Steven Seeger wrote:
>> In periodic mode, rt_timer_ticks2ns should convert ticks to periodic
>> jiffies. However, it always seems to return 0.
>
> Did you call rt_timer_start before rt_timer_tick2ns ?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-core] rt_timer_ticks2ns
2005-10-11 14:26 ` Steven Seeger
@ 2005-10-11 14:45 ` Gilles Chanteperdrix
0 siblings, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2005-10-11 14:45 UTC (permalink / raw)
To: Steven Seeger; +Cc: xenomai@xenomai.org
Steven Seeger wrote:
> Do you have to ask? :)
>
> rt_timer_start(125000);
Still hoping the code is fine and continuing with stupid questions : did
you check rt_timer_start return value ?
--
Gilles Chanteperdrix.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-10-11 14:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-11 14:10 [Xenomai-core] rt_timer_ticks2ns Steven Seeger
2005-10-11 14:24 ` Gilles Chanteperdrix
2005-10-11 14:26 ` Steven Seeger
2005-10-11 14:45 ` Gilles Chanteperdrix
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.