From: Martin Quinson Date: Fri, 25 May 2018 07:42:27 +0000 (+0200) Subject: allow to activate the link energy plugin from the command line X-Git-Tag: v3.20~193 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c6a53c1ab614ef61d7daab42c65ab296df276cb5 allow to activate the link energy plugin from the command line --- 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 */ };