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
Use :: to call get_clock() which is a static member of s4u::Engine.
[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
20430fe
..
c5e1fec
100644
(file)
--- a/
teshsuite/s4u/concurrent_rw/concurrent_rw.cpp
+++ b/
teshsuite/s4u/concurrent_rw/concurrent_rw.cpp
@@
-36,7
+36,7
@@
int main(int argc, char** argv)
simgrid::s4u::Actor::create("host", simgrid::s4u::Host::by_name("bob"), host);
e.run();
- XBT_INFO("Simulation time %g",
e.
get_clock());
+ XBT_INFO("Simulation time %g",
simgrid::s4u::Engine::
get_clock());
return 0;
}