6 #ifndef TRLFREQUENCYLIMITDETECTOR_HPP_INCLUDE
7 #define TRLFREQUENCYLIMITDETECTOR_HPP_INCLUDE
22 PlatformIO &platform_io,
23 const PlatformTopo &);
26 const std::vector<double> &observed_core_frequencies)
override;
28 unsigned int core_idx)
const override;
32 unsigned int m_package_count;
34 const double M_CPU_FREQUENCY_MAX;
35 const double M_CPU_FREQUENCY_STICKER;
36 std::vector<std::vector<int> > m_cores_in_packages;
37 std::vector<std::vector<std::pair<unsigned int, double> > > m_core_frequency_limits;
38 std::vector<double> m_core_lp_frequencies;
Detect maximum achievable frequency limits of CPU cores.
Definition: FrequencyLimitDetector.hpp:24
Definition: TRLFrequencyLimitDetector.hpp:19
double get_core_low_priority_frequency(unsigned int core_idx) const override
Estimate the low priority frequency of a given core.
Definition: TRLFrequencyLimitDetector.cpp:68
void update_max_frequency_estimates(const std::vector< double > &observed_core_frequencies) override
Update the estimates for maximum achievable core frequencies.
Definition: TRLFrequencyLimitDetector.cpp:41
TRLFrequencyLimitDetector(PlatformIO &platform_io, const PlatformTopo &)
Definition: TRLFrequencyLimitDetector.cpp:21
std::vector< std::pair< unsigned int, double > > get_core_frequency_limits(unsigned int core_idx) const override
Estimate the maximum achievable frequencies of a given core.
Definition: TRLFrequencyLimitDetector.cpp:63
Definition: Accumulator.cpp:12