Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move item in the right section.
[simgrid.git] / teshsuite / s4u / concurrent_rw / concurrent_rw.cpp
index 772c705..66fbe1e 100644 (file)
@@ -9,7 +9,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_test, "Messages specific for this s4u test");
 
 static void host()
 {
-  simgrid::s4u::Storage* storage = simgrid::s4u::Storage::byName("Disk1");
+  simgrid::s4u::Storage* storage = simgrid::s4u::Storage::by_name("Disk1");
   int id                         = simgrid::s4u::this_actor::get_pid();
   XBT_INFO("process %d is writing!", id);
   storage->write(3000000);
@@ -36,7 +36,7 @@ int main(int argc, char** argv)
     simgrid::s4u::Actor::create("host", simgrid::s4u::Host::by_name("bob"), host);
 
   e.run();
-  XBT_INFO("Simulation time %g", e.getClock());
+  XBT_INFO("Simulation time %g", e.get_clock());
 
   return 0;
 }