From: Christian Heinrich Date: Thu, 5 Jul 2018 06:55:53 +0000 (+0200) Subject: [DVFS] Make the Dvfs plugin available X-Git-Tag: v3_21~546^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ba404620ba1ee7677e7bfa5b13b8f4e6bab10e3b?ds=sidebyside [DVFS] Make the Dvfs plugin available This commit allows users to actually enable the plugin via smpirun. --- diff --git a/src/surf/surf_interface.cpp b/src/surf/surf_interface.cpp index a569bcdcbd..db2ad1fb11 100644 --- a/src/surf/surf_interface.cpp +++ b/src/surf/surf_interface.cpp @@ -36,12 +36,14 @@ std::vector host_that_restart; std::set watched_hosts; extern std::map storage_types; +#include // FIXME: this plug-in should not be linked to the core #include // FIXME: this plug-in should not be linked to the core #include // FIXME: this plug-in should not be linked to the core s_surf_model_description_t surf_plugin_description[] = { {"host_energy", "Cpu energy consumption.", &sg_host_energy_plugin_init}, {"link_energy", "Link energy consumption.", &sg_link_energy_plugin_init}, + {"host_dvfs", "Dvfs support", &sg_host_dvfs_plugin_init}, {"host_load", "Cpu load.", &sg_host_load_plugin_init}, {nullptr, nullptr, nullptr} /* this array must be nullptr terminated */ };