XBT_INFO("------------------------------------------------------------");
XBT_INFO("Each host sends 1B to every other hosts.");
XBT_INFO("Should be done in 8 seconds: 2 x 500ms + 1s of initial latency and 6 seconds for transfer");
- XBT_INFO("Each SHARED link is traversed by 6 flows (3 in and 3 out). ");
+ XBT_INFO("Each SHARED link is traversed by 6 flows (3 in and 3 out).");
XBT_INFO("Each 1B transfer thus takes 6 seconds on a 1Bps link");
start_time = sg4::Engine::get_clock();
{
sg4::Engine engine(&argc, argv);
engine.load_platform(argv[1]);
- sg4::Actor::create("dispatcher", sg4::Host::by_name("cpu0"), main_dispatcher);
+ sg4::Actor::create("dispatcher", engine.host_by_name("cpu0"), main_dispatcher);
engine.run();
return 0;