#include <actions.h>
Definition at line 49 of file actions.h.
SleepAction::SleepAction |
( |
| ) |
|
RlScheduler::SleepAction::SleepAction |
( |
int |
| ) |
|
std::string SleepAction::getName |
( |
| ) |
|
|
overridevirtual |
returns the process to run according to the RL algorithm
- Returns
- returns null if the process is not available in the ready queue, and also not running. In case several jobs of the same task are runnable, and if one of them is currently running, the job currently running is given priority. Otherwise, no guarantee iis made about which of the jobs is selected.
Reimplemented from RlScheduler::Action.
Definition at line 76 of file actions.cpp.
void SleepAction::performAction |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: