X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/49e85177c669d793e84242983a1b1f430e47184e..82f048773df5d2086fe2044d2bef0cbffdf6f982:/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; }