Scheduler
squareMaxTempEstimator.cpp
Go to the documentation of this file.
1 
10 #include "squareMaxTempEstimator.h"
11 
12 #include <scheduler/system.h>
13 #include <scheduler/processor.h>
14 
15 using namespace RlScheduler;
16 
18  proc(Scheduler::System::getInstance()->getProc())
19 {
20 }
21 
23 {
24  const double temp = proc->getTemperature();
25  return temp*temp;
26 }
list temp
Definition: bigtemp.py:9
double getTemperature() const
Definition: processor.cpp:185