Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[DVFS] Rename config option from sampling_rate to sampling-rate
[simgrid.git] / src / plugins / host_dvfs.cpp
index b99df53..5e8886d 100644 (file)
@@ -10,6 +10,8 @@
 
 #include <boost/algorithm/string.hpp>
 
+SIMGRID_REGISTER_PLUGIN(host_dvfs, "Dvfs support", &sg_host_dvfs_plugin_init)
+
 /** @addtogroup SURF_plugin_load
 
   This plugin makes it very simple for users to obtain the current load for each host.
@@ -18,8 +20,8 @@
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_plugin_dvfs, surf, "Logging specific to the SURF HostDvfs plugin");
 
-static const char* property_sampling_rate = "plugin/dvfs/sampling_rate";
-static const char* property_governor      = "plugin/dvfs/governor";
+static std::string property_sampling_rate = "plugin/dvfs/sampling-rate";
+static std::string property_governor      = "plugin/dvfs/governor";
 
 namespace simgrid {
 namespace plugin {