A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
code killed by container usage
[simgrid.git]
/
examples
/
s4u
/
actions-comm
/
s4u_actions-comm.cpp
diff --git
a/examples/s4u/actions-comm/s4u_actions-comm.cpp
b/examples/s4u/actions-comm/s4u_actions-comm.cpp
index
d62c029
..
1cbdbfb
100644
(file)
--- a/
examples/s4u/actions-comm/s4u_actions-comm.cpp
+++ b/
examples/s4u/actions-comm/s4u_actions-comm.cpp
@@
-85,8
+85,6
@@
public:
int main(int argc, char *argv[])
{
simgrid::s4u::Engine* e = new simgrid::s4u::Engine(&argc, argv);
int main(int argc, char *argv[])
{
simgrid::s4u::Engine* e = new simgrid::s4u::Engine(&argc, argv);
- /* Explicit initialization of the action module is required now*/
- 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"
xbt_assert(argc > 2, "Usage: %s platform_file deployment_file [action_files]\n"
"\t# if all actions are in the same file\n"
@@
-120,7
+118,5
@@
int main(int argc, char *argv[])
XBT_INFO("Simulation time %g", e->getClock());
XBT_INFO("Simulation time %g", e->getClock());
- simgrid::xbt::replay_exit(); /* Explicit finalization of the action module */
-
return 0;
}
return 0;
}