From: Philippe Gerum <rpm@xenomai.org>
To: Hubert Talbot <Hubert.Talbot@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] T_RRB
Date: Mon, 11 Feb 2008 19:28:40 +0100 [thread overview]
Message-ID: <47B093D8.2050605@domain.hid> (raw)
In-Reply-To: <47B0371E0200000100192400@domain.hid>
Hubert Talbot wrote:
> Hi,
>
> I'm new to Xenomai.
>
> I am studying xenomai and I would like to kwow how to apply round-robin.
>
> Specifically, what to do with (do I have to?):
>
> - the kernel configuration
>
> Real-time sub-system/Timing/Enable periodic timing ?
>
Yes. Round-robin scheduling is only available with tick-based timing.
> - the timer configuration
>
> rt_timer_set_mode(rt_timer_ns2ticks(???)) ?
>
rt_timer_set_mode(ns), to switch the default oneshot mode for the native
API to tick-based.
> - the task configuration
>
> rt_task_set_periodic(???) ?
Not this one; it controls whether your task follows a periodic timeline
using the rt_task_wait_period() service. It's not related to RRB.
> rt_task_set_mode(0, T_RRB, 0) ?
Yes, this one is needed to switch on RRB for the calling task.
> rt_task_slice(???) ?
>
And this one allows to set the time quantum alloted to the task (in ticks).
> Thanks in advanced.
>
> Hubert
>
>
>
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
>
--
Philippe.
next prev parent reply other threads:[~2008-02-11 18:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-11 16:53 [Xenomai-help] T_RRB Hubert Talbot
2008-02-11 18:28 ` Philippe Gerum [this message]
2008-02-11 18:50 ` Jan Kiszka
2008-02-11 20:53 ` [Xenomai-help] Rép. : T_RRB Hubert Talbot
2008-02-11 22:51 ` Philippe Gerum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47B093D8.2050605@domain.hid \
--to=rpm@xenomai.org \
--cc=Hubert.Talbot@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.