Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
snake case another plugin
[simgrid.git] / src / surf / surf_interface.cpp
index 8697e77..a569bcd 100644 (file)
@@ -40,9 +40,9 @@ extern std::map<std::string, simgrid::surf::StorageType*> storage_types;
 #include <simgrid/plugins/load.h>   // 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},
-    {"Load", "Cpu load.", &sg_host_load_plugin_init},
+    {"host_energy", "Cpu energy consumption.", &sg_host_energy_plugin_init},
+    {"link_energy", "Link energy consumption.", &sg_link_energy_plugin_init},
+    {"host_load", "Cpu load.", &sg_host_load_plugin_init},
     {nullptr, nullptr, nullptr} /* this array must be nullptr terminated */
 };
 
@@ -306,7 +306,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;