From c6a53c1ab614ef61d7daab42c65ab296df276cb5 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Fri, 25 May 2018 09:42:27 +0200 Subject: [PATCH] allow to activate the link energy plugin from the command line --- src/surf/surf_interface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/surf/surf_interface.cpp b/src/surf/surf_interface.cpp index c85eba3fef..8697e7766e 100644 --- a/src/surf/surf_interface.cpp +++ b/src/surf/surf_interface.cpp @@ -40,7 +40,8 @@ extern std::map storage_types; #include // FIXME: this plug-in should not be linked to the core s_surf_model_description_t surf_plugin_description[] = { - {"Energy", "Cpu energy consumption.", &sg_host_energy_plugin_init}, + {"Host_Energy", "Cpu energy consumption.", &sg_host_energy_plugin_init}, + {"Link_Energy", "Link energy consumption.", &sg_link_energy_plugin_init}, {"Load", "Cpu load.", &sg_host_load_plugin_init}, {nullptr, nullptr, nullptr} /* this array must be nullptr terminated */ }; -- 2.20.1