Scheduler
envelopeDetector.h
Go to the documentation of this file.
1 
10 #ifndef ENVELOPE_DETECTOR_H
11 #define ENVELOPE_DETECTOR_H
12 
13 #include "maxTempEstimator.h"
14 
15 namespace Scheduler
16 {
17  class Processor;
18 }
19 
20 namespace RlScheduler
21 {
22 
24 {
25 public:
26  static const constexpr char *configKey = "envelopeDetector";
27 public:
28  EnvelopeDetector(double decayCoeff);
29  double getMaximumTemperature() override;
30 private:
31  double decayCoeff{0.999};
32  double maxTemp{-300.0}; //-300 degrees Celcius is below absolute zero
34 };
35 
36 
37 }
38 #endif
39