- e.loadPlatform(argv[1]);
-
- HostBittorrent::EXTENSION_ID = simgrid::s4u::Host::extension_create<HostBittorrent>();
-
- std::vector<simgrid::s4u::Host*> list;
- simgrid::s4u::Engine::getInstance()->getHostList(&list);
- for (auto const& host : list)
- host->extension_set(new HostBittorrent(host));