* (ie, after any configuration change and just before the resource creation) */
extern XBT_PUBLIC xbt::signal<void()> on_platform_creation;
-/** Callback fired when some configuration has be done directly in the XML file */
-extern XBT_PUBLIC xbt::signal<void()> on_config_in_platform_done;
-
/** Callback fired when the main simulation loop ends, just before the end of Engine::run() */
extern XBT_PUBLIC xbt::signal<void()> on_simulation_end;
/* Connect callbacks */
simgrid::s4u::on_platform_creation.connect(TRACE_start);
- simgrid::s4u::on_config_in_platform_done.connect(TRACE_start);
simgrid::s4u::on_deadlock.connect(TRACE_end);
simgrid::s4u::on_simulation_end.connect(TRACE_end);
}
namespace s4u {
xbt::signal<void()> on_platform_creation;
xbt::signal<void()> on_platform_created;
-xbt::signal<void()> on_config_in_platform_done;
xbt::signal<void()> on_simulation_end;
xbt::signal<void(double)> on_time_advance;
xbt::signal<void(void)> on_deadlock;
_sg_cfg_init_status = 2; /* HACK: direct access to the global controlling the level of configuration to prevent
* any further config now that we created some real content */
- simgrid::s4u::on_config_in_platform_done();
/* search the routing model */
simgrid::kernel::routing::NetZoneImpl* new_zone = nullptr;