Scheduler
|
#include <startProc.h>
Public Member Functions | |
StartProc (double time=0, bool renew=false) | |
void | process () override |
handle the the event TODO: 'process' is maybe not the best word for that, given that our simulator actually manipulated processes More... | |
std::string | getName () override |
get the name of the event More... | |
![]() | |
Event (double time, bool renew=true) | |
Event constructor. More... | |
void | setTask (std::shared_ptr< Process > task) |
if the event is specific to a task, set it here. TODO not all events have an associated task. This should be moved More... | |
double | getTime () |
get the time at which the event is scheduled More... | |
virtual | ~Event () |
virtual void | print () |
print information about the event More... | |
Additional Inherited Members | |
![]() | |
double | time |
bool | renew |
std::shared_ptr< Process > | task {nullptr} |
TriggeringEvent | eventType {nothing} |
The event type is need by the scheduling discipline, to determine if this kind of event triggers invokatio of that discipline. More... | |
This event powers the processor and gives it an operating frequency
Definition at line 23 of file startProc.h.
|
inline |
Definition at line 26 of file startProc.h.
|
overridevirtual |
get the name of the event
Implements Scheduler::Event.
Definition at line 26 of file startProc.cpp.
|
overridevirtual |
handle the the event TODO: 'process' is maybe not the best word for that, given that our simulator actually manipulated processes
Implements Scheduler::Event.
Definition at line 18 of file startProc.cpp.