RTEMS support

13 views
Skip to first unread message

vai bas

unread,
Mar 26, 2012, 2:23:11 PM3/26/12
to rtems...@rtems.org
Dear developers and users,


               I really need some more explanation. Is there Rate-Monotonic Scheduling policy in RTEMS? If there is RMS scheduling policy then how can i invoke this? http://www.rtems.org/onlinedocs/doxygen/cpukit/html/group__ClassicRateMon.html  I found some API here but no where I found about the support in scheduling policy. Make me cleare about it please. 







Best regards
Vai

               

Thomas Doerfler

unread,
Mar 26, 2012, 2:33:46 PM3/26/12
to rtems...@rtems.org
Vai,

the doc page you have found is the right starting point. Actually RTEMS
has no rate monotonic scheduler, but an API to create and use a rate
monotonic timer.

In a task, you can create a rate monotonic timer and, in a loop, wake up
when it expires. After it expired, your task will wake up again and can
perform the next program loop. Then again it can wait for the timer to
expire the next time.

wkr,

Thomas.

> _______________________________________________
> rtems-users mailing list
> rtems...@rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users


--
--------------------------------------------
Embedded Brains GmbH
Thomas Doerfler Obere Lagerstr. 30
D-82178 Puchheim Germany
email: Thomas....@embedded-brains.de
Phone: +49-89-18908079-2
Fax: +49-89-18908079-9
_______________________________________________
rtems-users mailing list
rtems...@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-users

Gedare Bloom

unread,
Mar 26, 2012, 2:57:18 PM3/26/12
to Thomas Doerfler, rtems...@rtems.org
On Mon, Mar 26, 2012 at 2:33 PM, Thomas Doerfler
<Thomas....@embedded-brains.de> wrote:
> Vai,
>
> the doc page you have found is the right starting point. Actually RTEMS
> has no rate monotonic scheduler, but an API to create and use a rate
> monotonic timer.
>
> In a task, you can create a rate monotonic timer and, in a loop, wake up
> when it expires. After it expired, your task will wake up again and can
> perform the next program loop. Then again it can wait for the timer to
> expire the next time.
>
See also testsuites/sptests/sp20 for an example using the RM
scheduling policy. RM uses regular fixed-priority scheduling and the
rate monotonic manager provides a way to handle periodic tasks.
Reply all
Reply to author
Forward
0 new messages