|
geopm 3.2.1.dev237+gbe30cff60
GEOPM - Global Extensible Open Power Manager
|
Class ingesting region classification logits and a frequency map json file and determining a recommended frequency decision. More...
#include <RegionHintRecommenderImp.hpp>


Public Member Functions | |
| RegionHintRecommenderImp (const std::string &fmap_path, double min_freq, double max_freq) | |
| double | recommend_frequency (const std::map< std::string, double > &nn_output, double phi) const override |
| Recommends frequency based on region classification logits. | |
Public Member Functions inherited from geopm::RegionHintRecommender | |
| virtual | ~RegionHintRecommender ()=default |
Additional Inherited Members | |
Static Public Member Functions inherited from geopm::RegionHintRecommender | |
| static std::unique_ptr< RegionHintRecommender > | make_unique (const std::string &fmap_path, double min_freq, double max_freq) |
| Returns a unique_ptr to a concrete object constructed using the underlying implementation, which loads a frequency map file into a std::map of region class string to double, and sets both min and max frequency recommendations. | |
| static std::shared_ptr< RegionHintRecommender > | make_shared (const std::string &fmap_path, double min_freq, double max_freq) |
| Returns a shared_ptr to a concrete object constructed using the underlying implementation, which loads a frequency map file into a std::map of region class string to double, and sets both min and max frequency recommendations. | |
Class ingesting region classification logits and a frequency map json file and determining a recommended frequency decision.
| geopm::RegionHintRecommenderImp::RegionHintRecommenderImp | ( | const std::string & | fmap_path, |
| double | min_freq, | ||
| double | max_freq | ||
| ) |
|
overridevirtual |
Recommends frequency based on region classification logits.
| [in] | nn_output | List of region classification names and logits output from region class neural net |
| [in] | phi | User-input perf-energy bias |
Implements geopm::RegionHintRecommender.