X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3b7e5f4b4d7c87ee3e8827313ec966ea8fc8387..3a76359d818d1d9c0b3dad7d552e5b32b4595335:/src/surf/surf_interface.cpp diff --git a/src/surf/surf_interface.cpp b/src/surf/surf_interface.cpp index 9170f1d11d..2ff3eb33c1 100644 --- a/src/surf/surf_interface.cpp +++ b/src/surf/surf_interface.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2021. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -33,9 +33,6 @@ std::vector all_existing_models; /* to destro simgrid::kernel::profile::FutureEvtSet future_evt_set; std::vector surf_path; -/** set of hosts for which one want to be notified if they ever restart. */ -std::set watched_hosts; -extern std::map storage_types; std::vector* surf_plugin_description = nullptr; @@ -115,10 +112,6 @@ const std::vector surf_disk_model_description = { {"default", "Simplistic disk model.", &surf_disk_model_init_default}, }; -const std::vector surf_storage_model_description = { - {"default", "Simplistic storage model.", &surf_storage_model_init_default}, -}; - double NOW = 0; double surf_get_clock() @@ -227,12 +220,6 @@ void surf_init(int *argc, char **argv) void surf_exit() { simgrid::s4u::Engine::shutdown(); - for (auto const& e : storage_types) { - const simgrid::kernel::resource::StorageType* stype = e.second; - delete stype->properties; - delete stype->model_properties; - delete stype; - } for (auto const& model : all_existing_models) delete model;