Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please sonar, get_clock is a static method
[simgrid.git] / teshsuite / surf / surf_usage2 / surf_usage2.cpp
index 6faa675..18bc5b0 100644 (file)
@@ -48,7 +48,7 @@ int main(int argc, char** argv)
     simgrid::kernel::resource::Action* action = nullptr;
     running                                   = 0;
 
-    double now = e.get_clock();
+    double now = simgrid::s4u::Engine::get_clock();
     XBT_INFO("Next Event : %g", now);
 
     for (auto const& model : e.get_all_models()) {