c-user: Update CONFIGURE_SCHEDULER_NAME

This commit is contained in:
Sebastian Huber 2018-03-07 13:43:07 +01:00
parent f6c6c8b274
commit 8010b6e3ca
2 changed files with 27 additions and 9 deletions

View File

@ -3558,13 +3558,15 @@ RANGE:
DEFAULT VALUE: DEFAULT VALUE:
The default name is The default name is
- ``"UCBS"`` for the Uni-Processor CBS scheduler,
- ``"UEDF"`` for the Uni-Processor EDF scheduler, - ``"MEDF"`` for the :ref:`EDF SMP Scheduler <SchedulerSMPEDF>`,
- ``"UPD "`` for the Uni-Processor Deterministic Priority scheduler, - ``"MPA "`` for the :ref:`Aribitary Processor Affinity Priority SMP Scheduler <SchedulerSMPPriorityAffinity>`,
- ``"UPS "`` for the Uni-Processor Simple Priority scheduler, - ``"MPD "`` for the :ref:`Deterministic Priority SMP Scheduler <SchedulerSMPPriority>`,
- ``"MPA "`` for the Multi-Processor Priority Affinity scheduler, and - ``"MPS "`` for the :ref:`Simple Priority SMP Scheduler <SchedulerSMPPrioritySimple>`,
- ``"MPD "`` for the Multi-Processor Deterministic Priority scheduler, and - ``"UCBS"`` for the :ref:`Uniprocessor CBS Scheduler <SchedulerCBS>`,
- ``"MPS "`` for the Multi-Processor Simple Priority scheduler. - ``"UEDF"`` for the :ref:`Uniprocessor EDF Scheduler <SchedulerEDF>`,
- ``"UPD "`` for the :ref:`Uniprocessor Deterministic Priority Scheduler <SchedulerPriority>`, and
- ``"UPS "`` for the :ref:`Uniprocessor Simple Priority Scheduler <SchedulerPrioritySimple>`.
DESCRIPTION: DESCRIPTION:
Schedulers can be identified via ``rtems_scheduler_ident``. The name of Schedulers can be identified via ``rtems_scheduler_ident``. The name of

View File

@ -122,6 +122,8 @@ Uniprocessor Schedulers
All uniprocessor schedulers included in RTEMS are priority based. The All uniprocessor schedulers included in RTEMS are priority based. The
processor is allocated to the highest priority task allowed to run. processor is allocated to the highest priority task allowed to run.
.. _SchedulerPriority:
Deterministic Priority Scheduler Deterministic Priority Scheduler
-------------------------------- --------------------------------
@ -138,6 +140,8 @@ system configured to support 256 priority levels.
This scheduler is only aware of a single core. This scheduler is only aware of a single core.
.. _SchedulerPrioritySimple:
Simple Priority Scheduler Simple Priority Scheduler
------------------------- -------------------------
@ -156,6 +160,8 @@ This scheduler is only aware of a single core.
.. index:: earliest deadline first scheduling .. index:: earliest deadline first scheduling
.. _SchedulerEDF:
Earliest Deadline First Scheduler Earliest Deadline First Scheduler
--------------------------------- ---------------------------------
@ -189,6 +195,8 @@ deadline. Moreover, the ``rtems_rate_monotonic_cancel`` and
.. index:: constant bandwidth server scheduling .. index:: constant bandwidth server scheduling
.. _SchedulerCBS:
Constant Bandwidth Server Scheduling (CBS) Constant Bandwidth Server Scheduling (CBS)
------------------------------------------ ------------------------------------------
@ -224,12 +232,14 @@ All SMP schedulers included in RTEMS are priority based. The processors
managed by a scheduler instance are allocated to the highest priority tasks managed by a scheduler instance are allocated to the highest priority tasks
allowed to run. allowed to run.
.. _SchedulerSMPEDF:
Earliest Deadline First SMP Scheduler Earliest Deadline First SMP Scheduler
------------------------------------- -------------------------------------
A job-level fixed-priority scheduler using the Earliest Deadline First (EDF) A job-level fixed-priority scheduler using the Earliest Deadline First (EDF)
method. By convention, the maximum priority level is method. By convention, the maximum priority level is
:math:`min(INT\_MAX, 2^{63} - 1)` for background tasks. The tasks with an :math:`min(INT\_MAX, 2^{62} - 1)` for background tasks. The tasks with an
active deadline have a higher priority than the background tasks. This active deadline have a higher priority than the background tasks. This
scheduler supports task processor affinities of one-to-one and one-to-all, e.g. scheduler supports task processor affinities of one-to-one and one-to-all, e.g.
a task can execute on exactly one processor or all processors managed by the a task can execute on exactly one processor or all processors managed by the
@ -239,9 +249,11 @@ must contain all online processors to select the one-to-all affinity. This is
to avoid pathological cases if processors are added/removed to/from the to avoid pathological cases if processors are added/removed to/from the
scheduler instance at run-time. In case the processor affinity set contains scheduler instance at run-time. In case the processor affinity set contains
not all online processors, then a one-to-one affinity will be used selecting not all online processors, then a one-to-one affinity will be used selecting
the processor with the largest index within the set of processores currently the processor with the largest index within the set of processors currently
owned by the scheduler instance. owned by the scheduler instance.
.. _SchedulerSMPPriority:
Deterministic Priority SMP Scheduler Deterministic Priority SMP Scheduler
------------------------------------ ------------------------------------
@ -250,6 +262,8 @@ priority level for the ready tasks. The maximum priority level is
configurable. By default, the maximum priority level is 255 (256 priority configurable. By default, the maximum priority level is 255 (256 priority
levels). levels).
.. _SchedulerSMPPrioritySimple:
Simple Priority SMP Scheduler Simple Priority SMP Scheduler
----------------------------- -----------------------------
@ -257,6 +271,8 @@ A fixed-priority scheduler which uses a sorted chain for the ready tasks. By
convention, the maximum priority level is 255. The implementation limit is convention, the maximum priority level is 255. The implementation limit is
actually :math:`2^{64} - 1`. actually :math:`2^{64} - 1`.
.. _SchedulerSMPPriorityAffinity:
Aribitary Processor Affinity Priority SMP Scheduler Aribitary Processor Affinity Priority SMP Scheduler
--------------------------------------------------- ---------------------------------------------------