|
Scheduler
|
#include <fcfsDiscipline.h>
Public Member Functions | |
| FcfsDiscipline (std::shared_ptr< SchedulerConfiguration > c) | |
| ~FcfsDiscipline () | |
| std::shared_ptr< Process > | selectNextTask (Queue *readyQueue, std::shared_ptr< Process > running, unsigned int deadlineMisses) override |
| 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... | |
Public Member Functions inherited from Scheduler::SchedulingDiscipline | |
| virtual | ~SchedulingDiscipline () |
| SchedulingDiscipline (std::shared_ptr< SchedulerConfiguration > c) | |
| virtual void | end () |
Static Public Attributes | |
| static constexpr const char * | configKey = "fcfsDiscipline" |
Additional Inherited Members | |
Protected Attributes inherited from Scheduler::SchedulingDiscipline | |
| std::shared_ptr< SchedulerConfiguration > | conf {nullptr} |
Definition at line 18 of file fcfsDiscipline.h.
|
inline |
Definition at line 23 of file fcfsDiscipline.h.
|
inline |
Definition at line 24 of file fcfsDiscipline.h.
|
virtual |
returns the name of that discipline
Implements Scheduler::SchedulingDiscipline.
Definition at line 30 of file fcfsDiscipline.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 35 of file fcfsDiscipline.cpp.
|
overridevirtual |
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 19 of file fcfsDiscipline.cpp.
|
static |
Definition at line 21 of file fcfsDiscipline.h.
1.8.11