Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
stringify tracing category
[simgrid.git] / src / plugins / host_dvfs.cpp
index 3b71953..9e09300 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);
@@ -292,10 +291,9 @@ static void on_host_added(simgrid::s4u::Host& host)
 
 /* **************************** Public interface *************************** */
 
-
-/** \ingroup SURF_plugin_load
- * \brief Initializes the HostDvfs plugin
- * \details The HostDvfs plugin provides an API to get the current load of each host.
+/** @ingroup SURF_plugin_load
+ * @brief Initializes the HostDvfs plugin
+ * @details The HostDvfs plugin provides an API to get the current load of each host.
  */
 void sg_host_dvfs_plugin_init()
 {