delete model;
delete all_existing_models;
xbt_dynar_free(&model_list_invoke);
- routing_exit();
simgrid::surf::surfExitCallbacks();
return netcard;
}
-/* Global vars */
-simgrid::kernel::routing::RoutingPlatf* routing_platf = new simgrid::kernel::routing::RoutingPlatf();
-
void sg_platf_new_trace(sg_platf_trace_cbarg_t trace)
{
tmgr_trace_t tmgr_trace;
instr_routing_define_callbacks();
}
-/** \brief Frees all memory allocated by the routing module */
-void routing_exit() {
- delete routing_platf;
-}
-
-simgrid::kernel::routing::RoutingPlatf::RoutingPlatf() = default;
-simgrid::kernel::routing::RoutingPlatf::~RoutingPlatf() = default;
Link* link_;
};
-/** @ingroup SURF_routing_interface
- * @brief The class representing a whole routing platform
- */
-XBT_PUBLIC_CLASS RoutingPlatf {
-public:
- explicit RoutingPlatf();
- ~RoutingPlatf();
-};
-
}}}
#endif /* NETWORK_ROUTING_HPP_ */