Scheduler
|
#include <roundRobinDiscipline.h>
Public Member Functions | |
RoundRobinDiscipline (std::shared_ptr< SchedulerConfiguration > c) | |
~RoundRobinDiscipline () | |
std::shared_ptr< Process > | selectNextTask (Queue *readyQueue, std::shared_ptr< Process > running, unsigned int) |
select the best task to run at this point. More... | |
std::string | getName () |
returns the name of that discipline More... | |
bool | preempts (TriggeringEvent trigger) |
returns true if the argument is a scheduling trigger for this specific discipline More... | |
![]() | |
virtual | ~SchedulingDiscipline () |
SchedulingDiscipline (std::shared_ptr< SchedulerConfiguration > c) | |
virtual void | end () |
Static Public Attributes | |
static constexpr const char * | configKey = "roundRobinDiscipline" |
Additional Inherited Members | |
![]() | |
std::shared_ptr< SchedulerConfiguration > | conf {nullptr} |
Definition at line 22 of file roundRobinDiscipline.h.
|
inline |
Definition at line 27 of file roundRobinDiscipline.h.
|
inline |
Definition at line 28 of file roundRobinDiscipline.h.
|
virtual |
returns the name of that discipline
Implements Scheduler::SchedulingDiscipline.
Definition at line 32 of file roundRobinDiscipline.cpp.
|
virtual |
returns true if the argument is a scheduling trigger for this specific discipline
trigger | the type of the event that triggered the scheduling invokation |
Implements Scheduler::SchedulingDiscipline.
Definition at line 38 of file roundRobinDiscipline.cpp.
|
virtual |
select the best task to run at this point.
readyQueue | the ready queue |
running | the currently running task |
deadlineMisses |
Implements Scheduler::SchedulingDiscipline.
Definition at line 21 of file roundRobinDiscipline.cpp.
|
static |
Definition at line 25 of file roundRobinDiscipline.h.