From ba404620ba1ee7677e7bfa5b13b8f4e6bab10e3b Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Thu, 5 Jul 2018 08:55:53 +0200 Subject: [PATCH] [DVFS] Make the Dvfs plugin available This commit allows users to actually enable the plugin via smpirun. --- src/surf/surf_interface.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 */ }; -- 2.20.1