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
/
mc
/
mutex-handling
/
mutex-handling.cpp
diff --git
a/teshsuite/mc/mutex-handling/mutex-handling.cpp
b/teshsuite/mc/mutex-handling/mutex-handling.cpp
index
e7657ef
..
243763b
100644
(file)
--- a/
teshsuite/mc/mutex-handling/mutex-handling.cpp
+++ b/
teshsuite/mc/mutex-handling/mutex-handling.cpp
@@
-74,7
+74,7
@@
int main(int argc, char* argv[])
simgrid::s4u::Actor::create("sender", simgrid::s4u::Host::by_name("Fafard"), sender, "box", mutex, 2);
e.run();
- XBT_INFO("Simulation time %g",
e.
get_clock());
+ XBT_INFO("Simulation time %g",
simgrid::s4u::Engine::
get_clock());
return 0;
}