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