X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6de03ecc4e630732984a0673512a5d15fd75e270..e5fdc0f90b4c3ec53803150b783320e9cd4ebc75:/examples/smpi/replay/replay.c diff --git a/examples/smpi/replay/replay.c b/examples/smpi/replay/replay.c index 06b9f9b869..4f98b705db 100644 --- a/examples/smpi/replay/replay.c +++ b/examples/smpi/replay/replay.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2009-2014. The SimGrid Team. +/* Copyright (c) 2009-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -7,13 +7,7 @@ #include #include "smpi/smpi.h" -int main(int argc, char *argv[]) -{ - smpi_replay_init(&argc, &argv); - - /* Actually do the simulation using smpi_action_trace_run */ - smpi_action_trace_run(NULL); - smpi_replay_finalize(); - +int main(int argc, char *argv[]) { + smpi_replay_run(&argc, &argv); return 0; }