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
/
actor
/
actor.cpp
diff --git
a/teshsuite/s4u/actor/actor.cpp
b/teshsuite/s4u/actor/actor.cpp
index
902c1f7
..
eafecfe
100644
(file)
--- a/
teshsuite/s4u/actor/actor.cpp
+++ b/
teshsuite/s4u/actor/actor.cpp
@@
-60,7
+60,7
@@
int main(int argc, char* argv[])
simgrid::s4u::Actor::create("worker", simgrid::s4u::Host::by_name("Tremblay"), worker);
e.run();
- XBT_INFO("Simulation time %g",
e.
get_clock());
+ XBT_INFO("Simulation time %g",
simgrid::s4u::Engine::
get_clock());
return 0;
}