Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use :: to call get_clock() which is a static member of s4u::Engine.
[simgrid.git] / teshsuite / mc / mutex-handling / mutex-handling.cpp
index e7657ef..243763b 100644 (file)
@@ -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;
 }