Scheduler
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
mdpGovernor
mdpGovernor.h
Go to the documentation of this file.
1
10
#ifndef MDPGOVERNOR_H
11
#define MDPGOVERNOR_H
12
13
#include <string>
14
#include <
scheduler/governor/freqGovernor.h
>
15
16
namespace
Mdp
17
{
18
class
MdpModel;
19
}
20
21
namespace
MdpGov
22
{
23
24
class
MdpGovernor
:
public
Scheduler::FreqGovernor
25
{
26
public
:
27
static
constexpr
const
char
*configKey =
"mdpGovernor"
;
28
public
:
29
MdpGovernor
();
30
virtual
~
MdpGovernor
();
31
virtual
void
updateFreq(
Scheduler::Processor
*proc,
Scheduler::Queue
*readyQueue);
32
virtual
bool
freqChangeEvent(
Scheduler::TriggeringEvent
trigger);
33
virtual
std::string getName();
34
virtual
void
printReport(std::string folder)
override
;
35
private
:
36
Mdp::MdpModel
*model;
37
/*TODO keep track of the MdpAction history*/
38
};
39
40
41
}
42
43
#endif
Scheduler::TriggeringEvent
TriggeringEvent
Definition:
eventType.h:16
Scheduler::Queue
This class implements the ready queue and the wait queue. Those queues contain processes ready to run...
Definition:
queue.h:28
MdpGov
Definition:
mdpGovernor.h:21
freqGovernor.h
Scheduler::Processor
Definition:
processor.h:28
Mdp::MdpModel
The main class of the MDP framework.
Definition:
mdpModel.h:35
Mdp
Definition:
action.h:18
Scheduler::FreqGovernor
Definition:
freqGovernor.h:24
MdpGov::MdpGovernor
Definition:
mdpGovernor.h:24
Generated on Sun Nov 26 2017 17:01:36 for Scheduler by
1.8.11