X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/895710d49f77179d9893bc76b3e31b69fae638af..f97bad3c82af23c0f37296e56d5379377d1088e2:/src/plugins/host_dvfs.cpp diff --git a/src/plugins/host_dvfs.cpp b/src/plugins/host_dvfs.cpp index b99df53b9b..5e8886d1ca 100644 --- a/src/plugins/host_dvfs.cpp +++ b/src/plugins/host_dvfs.cpp @@ -10,6 +10,8 @@ #include +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 {