rms
¶
Module Contents¶
Functions¶
rms_is_schedulable (tasks) |
Check the task set schedulability for RMS. |
rms (task_list, sim_time=0, verbose=False) |
Simulates the Rate Monotonic (RM) scheduling algorithm. |
-
rms.
rms_is_schedulable
(tasks)[source]¶ Check the task set schedulability for RMS.
Check whether the specified task set is schedulable under RMS algorithm.
Parameters: tasks – list of task descriptors. Returns: The return value. True for success, False otherwise. Return type: bool.
-
rms.
rms
(task_list, sim_time=0, verbose=False)[source]¶ Simulates the Rate Monotonic (RM) scheduling algorithm.
Parameters: - task_list – List of task descriptors.
- sim_time (int) – Time for simulation. If none is defined, then LCM (Lowest Common Multiple) of periods is used.
- verbose (bool) –
Returns: sched
Return type: schedule list for each task (List of dictionaries)