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
save some hidden calls to Engine::get_instance
[simgrid.git]
/
teshsuite
/
s4u
/
concurrent_rw
/
concurrent_rw.cpp
diff --git
a/teshsuite/s4u/concurrent_rw/concurrent_rw.cpp
b/teshsuite/s4u/concurrent_rw/concurrent_rw.cpp
index
54aaf3a
..
d86661d
100644
(file)
--- a/
teshsuite/s4u/concurrent_rw/concurrent_rw.cpp
+++ b/
teshsuite/s4u/concurrent_rw/concurrent_rw.cpp
@@
-35,10
+35,10
@@
int main(int argc, char** argv)
e.load_platform(argv[1]);
for (int i = 0; i < 5; i++)
e.load_platform(argv[1]);
for (int i = 0; i < 5; i++)
- sg4::Actor::create("host",
sg4::Host::
by_name("bob"), host);
+ sg4::Actor::create("host",
e.host_
by_name("bob"), host);
e.run();
e.run();
- XBT_INFO("Simulation time %g",
sg4::Engine::
get_clock());
+ XBT_INFO("Simulation time %g",
e.
get_clock());
return 0;
}
return 0;
}