Scheduler
exponentialMaxTempEstimator.h
Go to the documentation of this file.
1 
10 #ifndef EXPONENTIAL_MAX_TEMP_ESTIMATOR_H
11 #define EXPONENTIAL_MAX_TEMP_ESTIMATOR_H
12 
13 
14 #include "maxTempEstimator.h"
15 
16 namespace Scheduler
17 {
18  class Processor;
19 }
20 
21 namespace RlScheduler
22 {
23 
25 {
26 public:
27  static constexpr const char *configKey = "exponentialTempEstimator";
28 public:
29  ExponentialMaxTempEstimator(double scaling, double offset);
30  double getMaximumTemperature() override;
31 private:
32  Scheduler::Processor *proc{nullptr};
33  double scaling{1.0};
34  double offset{0.0};
35 };
36 
37 }
38 #endif