X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8ccebd8729f00d1125f343c9dce5b093f40f8cc7..63ebf4be4ca6a243a64c7ded8df9b96a9d28d3ff:/examples/s4u/io-file-remote/s4u-io-file-remote.cpp diff --git a/examples/s4u/io-file-remote/s4u-io-file-remote.cpp b/examples/s4u/io-file-remote/s4u-io-file-remote.cpp index e7d1ee1a5d..429addc800 100644 --- a/examples/s4u/io-file-remote/s4u-io-file-remote.cpp +++ b/examples/s4u/io-file-remote/s4u-io-file-remote.cpp @@ -54,7 +54,7 @@ int main(int argc, char** argv) e.load_platform(argv[1]); e.register_function("host", host); e.load_deployment(argv[2]); - std::vector allStorages = e.getAllStorages(); + std::vector 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, @@ -68,6 +68,6 @@ int main(int argc, char** argv) 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; }