Scheduler Sim
A CPU Scheduling Algorithm Simulator in C++.
|
Abstract class for all scheduler types. More...
#include <scheduler.hpp>
Public Member Functions | |
virtual std::vector< std::unique_ptr< Process > > | schedule (time_unit ¤tTime, std::shared_ptr< Logger > logger, time_unit quantum)=0 |
This function represents moving forward by a single unit in time. | |
virtual bool | addToReadyQueue (std::unique_ptr< Process > &process, time_unit currentTime)=0 |
This function represents the addition of a newly arrived process to the ready queue. | |
Abstract class for all scheduler types.
|
pure virtual |
This function represents moving forward by a single unit in time.
currentTime | The current simulation time |
logger | The Logger instance to use for event logging |
quantum | The time quantum (if required by the scheduler) |