e.load_platform(argv[1]);
e.register_function("host", host);
e.load_deployment(argv[2]);
- std::vector<simgrid::s4u::Storage*> allStorages = e.getAllStorages();
+ std::vector<simgrid::s4u::Storage*> allStorages = e.get_all_storages();
for (auto const& s : allStorages) {
XBT_INFO("Init: %llu/%llu MiB used/free on '%s'", sg_storage_get_size_used(s) / INMEGA,
sg_storage_get_size_free(s) / INMEGA, s->get_cname());
}
- XBT_INFO("Simulation time %g", simgrid::s4u::Engine::getClock());
+ XBT_INFO("Simulation time %g", simgrid::s4u::Engine::get_clock());
return 0;
}