-/* Copyright (c) 2017-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2017-2022. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* - For each disk mounted on host, display disk name and mount point */
for (auto const& disk : disk_list)
- XBT_INFO("Disk name: %s (read: %.0f B/s -- write: %.0f B/s ", disk->get_cname(), disk->get_read_bandwidth(),
+ XBT_INFO("Disk name: %s (read: %.0f B/s -- write: %.0f B/s", disk->get_cname(), disk->get_read_bandwidth(),
disk->get_write_bandwidth());
/* - Write 400,000 bytes on Disk1 */
XBT_INFO(" %s -> %s", kv.first.c_str(), kv.second.c_str());
}
-
- simgrid::s4u::Actor::create("", simgrid::s4u::Host::by_name("bob"), host);
+ simgrid::s4u::Actor::create("", e.host_by_name("bob"), host);
e.run();
XBT_INFO("Simulated time: %g", simgrid::s4u::Engine::get_clock());