X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/51c23076e2b42ff07dc167dea1cb0e3a4ab3cf68..171293b2177631594dafc0a8449ee370aebdd305:/src/surf/surf_interface.cpp diff --git a/src/surf/surf_interface.cpp b/src/surf/surf_interface.cpp index 85b2bd3cdd..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 */ }; @@ -306,7 +308,6 @@ void surf_init(int *argc, char **argv) void surf_exit() { simgrid::s4u::Engine::shutdown(); - sg_link_exit(); for (auto const& e : storage_types) { simgrid::surf::StorageType* stype = e.second; delete stype->properties;