Scheduler
mdpGovernor.h
Go to the documentation of this file.
1 
10 #ifndef MDPGOVERNOR_H
11 #define MDPGOVERNOR_H
12 
13 #include <string>
15 
16 namespace Mdp
17 {
18  class MdpModel;
19 }
20 
21 namespace MdpGov
22 {
23 
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
TriggeringEvent
Definition: eventType.h:16
This class implements the ready queue and the wait queue. Those queues contain processes ready to run...
Definition: queue.h:28
The main class of the MDP framework.
Definition: mdpModel.h:35
Definition: action.h:18