X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/65f030e23995d8a7d37ca2b13a53fb93f8d76656..8345310cee54ebaf86c3f21cbd6dfc145f2323a7:/src/plugins/host_dvfs.cpp diff --git a/src/plugins/host_dvfs.cpp b/src/plugins/host_dvfs.cpp index 3b719536db..b62cc98a93 100644 --- a/src/plugins/host_dvfs.cpp +++ b/src/plugins/host_dvfs.cpp @@ -20,7 +20,6 @@ static simgrid::config::Flag cfg_governor("plugin/dvfs/governor", "Which Governor should be used that adapts the CPU frequency?", "performance", std::map({ - {"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);