10 #ifndef SCHEDULINGDISCIPLINE_H 11 #define SCHEDULINGDISCIPLINE_H 43 virtual std::string
getName()=0;
47 std::shared_ptr<SchedulerConfiguration>
conf{
nullptr};
virtual ~SchedulingDiscipline()
This class implements the ready queue and the wait queue. Those queues contain processes ready to run...
virtual std::shared_ptr< Process > selectNextTask(Queue *readyQueue, std::shared_ptr< Process > running, unsigned int deadlineMisses)=0
select the best task to run at this point.
virtual std::string getName()=0
returns the name of that discipline
std::shared_ptr< SchedulerConfiguration > conf
virtual bool preempts(TriggeringEvent trigger)=0
returns true if the argument is a scheduling trigger for this specific discipline ...
SchedulingDiscipline(std::shared_ptr< SchedulerConfiguration > c)
def deadlineMisses(reportsFolder, configFilename, reportFilename, runningTime)