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
/
io-dependent
/
s4u-io-dependent.cpp
diff --git
a/examples/cpp/io-dependent/s4u-io-dependent.cpp
b/examples/cpp/io-dependent/s4u-io-dependent.cpp
index 5923adb0324c7f456fb5a7966488dfd11e17dba3..5b296f38b9688fab0e91897839261d4e0b4c53d6 100644
(file)
--- a/
examples/cpp/io-dependent/s4u-io-dependent.cpp
+++ b/
examples/cpp/io-dependent/s4u-io-dependent.cpp
@@
-55,7
+55,7
@@
int main(int argc, char* argv[])
e.run();
- XBT_INFO("Simulation time %g",
e.
get_clock());
+ XBT_INFO("Simulation time %g",
simgrid::s4u::Engine::
get_clock());
return 0;
}