1 /* Copyright (c) 2016-2017. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #include "src/kernel/EngineImpl.hpp"
7 #include "simgrid/s4u/Host.hpp"
8 #include "src/kernel/routing/NetPoint.hpp"
9 #include "src/kernel/routing/NetZoneImpl.hpp"
14 EngineImpl::EngineImpl() = default;
15 EngineImpl::~EngineImpl()
17 sg_host_exit(); // Hosts should be part of the engine, at some point
19 for (auto const& kv : netpoints_)