argc = 2;
argv[1] = &args.at(1)[0];
}
- xbt_replay_action_runner(argc, argv);
+ simgrid::xbt::replay_runner(argc, argv);
}
void operator()()
{
simgrid::s4u::Engine* e = new simgrid::s4u::Engine(&argc, argv);
/* Explicit initialization of the action module is required now*/
- _xbt_replay_action_init();
+ simgrid::xbt::replay_init();
xbt_assert(argc > 2, "Usage: %s platform_file deployment_file [action_files]\n"
"\t# if all actions are in the same file\n"
argv[0], argv[0], argv[0]);
e->loadPlatform(argv[1]);
- e->registerDefault(&xbt_replay_action_runner);
+ e->registerDefault(&simgrid::xbt::replay_runner);
e->registerFunction<Replayer>("p0");
e->registerFunction<Replayer>("p1");
e->loadDeployment(argv[2]);
XBT_INFO("Simulation time %g", e->getClock());
- _xbt_replay_action_exit(); /* Explicit finalization of the action module */
+ simgrid::xbt::replay_exit(); /* Explicit finalization of the action module */
return 0;
}