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] / examples / cpp / io-dependent / s4u-io-dependent.cpp
index 5923adb0324c7f456fb5a7966488dfd11e17dba3..5b296f38b9688fab0e91897839261d4e0b4c53d6 100644 (file)
@@ -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;
 }