|
Scheduler
|
#include <rlDiscipline.h>
Public Member Functions | |
| RlDiscipline (std::shared_ptr< Configuration > conf) | |
| ~RlDiscipline () | |
| std::shared_ptr< Scheduler::Process > | selectNextTask (Scheduler::Queue *readyQueue, std::shared_ptr< Scheduler::Process > running, unsigned int deadlineMisses) |
| select the best task to run at this point. More... | |
| bool | preempts (Scheduler::TriggeringEvent trigger) |
| returns true if the argument is a scheduling trigger for this specific discipline More... | |
| std::string | getName () |
| returns the name of that discipline More... | |
| void | end () override |
Public Member Functions inherited from Scheduler::SchedulingDiscipline | |
| virtual | ~SchedulingDiscipline () |
| SchedulingDiscipline (std::shared_ptr< SchedulerConfiguration > c) | |
Static Public Attributes | |
| static constexpr const char * | configKey = "rlDiscipline" |
Additional Inherited Members | |
Protected Attributes inherited from Scheduler::SchedulingDiscipline | |
| std::shared_ptr< SchedulerConfiguration > | conf {nullptr} |
Definition at line 37 of file rlDiscipline.h.
| RlDiscipline::RlDiscipline | ( | std::shared_ptr< Configuration > | conf | ) |
Definition at line 37 of file rlDiscipline.cpp.
| RlDiscipline::~RlDiscipline | ( | ) |
Definition at line 42 of file rlDiscipline.cpp.
|
overridevirtual |
Reimplemented from Scheduler::SchedulingDiscipline.
Definition at line 133 of file rlDiscipline.cpp.
|
inlinevirtual |
returns the name of that discipline
Implements Scheduler::SchedulingDiscipline.
Definition at line 48 of file rlDiscipline.h.
|
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 95 of file rlDiscipline.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 58 of file rlDiscipline.cpp.
|
static |
Definition at line 41 of file rlDiscipline.h.
1.8.11