X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ef8e45c12eed3865ec33faf5760ed19bb55e183a..c405aa8f8e373531b1f3cb8f7e2e4dfe59e188bb:/src/plugins/chaos_monkey.cpp diff --git a/src/plugins/chaos_monkey.cpp b/src/plugins/chaos_monkey.cpp index 32c9ba7edd..da2ee32e8a 100644 --- a/src/plugins/chaos_monkey.cpp +++ b/src/plugins/chaos_monkey.cpp @@ -29,7 +29,7 @@ static void sg_chaos_monkey_plugin_init() XBT_INFO("Initializing the chaos monkey"); // delay the initialization until after the parameter are parsed - sg4::Engine::on_platform_created_cb([]() { + sg4::Engine::on_simulation_start_cb([]() { auto engine = sg4::Engine::get_instance(); auto hosts = engine->get_all_hosts(); auto links = engine->get_all_links();