-/* Copyright (c) 2006-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2006-2023. 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. */
#include <algorithm>
#include <string>
-XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_parse);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(platf_parse);
namespace simgrid::kernel::routing {
xbt::signal<void(ClusterCreationArgs const&)> on_cluster_creation;
static simgrid::kernel::routing::NetZoneImpl* current_routing = nullptr;
static simgrid::s4u::Host* current_host = nullptr;
-/** Module management function: creates all internal data structures */
-void sg_platf_init()
-{
- // Do nothing: just for symmetry of user code
-}
-
/** Module management function: frees all internal data structures */
-void sg_platf_exit()
+void sg_platf_parser_finalize()
{
simgrid::kernel::routing::on_cluster_creation.disconnect_slots();