Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove duplicate entry.
[simgrid.git] / src / plugins / host_dvfs.cpp
index 3b71953..b62cc98 100644 (file)
@@ -20,7 +20,6 @@ static simgrid::config::Flag<std::string> cfg_governor("plugin/dvfs/governor",
     "Which Governor should be used that adapts the CPU frequency?", "performance",
 
     std::map<std::string, std::string>({
-        {"performance", "TODO: add some doc"},
         {"conservative", "TODO: Doc"},
         {"ondemand", "TODO: Doc"},
         {"performance", "TODO: Doc"},
@@ -58,7 +57,7 @@ public:
 
   void init()
   {
-    const char* local_sampling_rate_config = host_->get_property("plugin/dvfs/sampling-rate");
+    const char* local_sampling_rate_config = host_->get_property(cfg_sampling_rate.get_name());
     double global_sampling_rate_config     = cfg_sampling_rate;
     if (local_sampling_rate_config != nullptr) {
       sampling_rate_ = std::stod(local_sampling_rate_config);