XBT_LOG_NEW_DEFAULT_SUBCATEGORY(sg_host, sd, "Logging specific to sg_hosts");
// FIXME: The following duplicates the content of s4u::Host
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(sg_host, sd, "Logging specific to sg_hosts");
// FIXME: The following duplicates the content of s4u::Host
names.push_back(kv.second->name());
std::sort(names.begin(), names.end());
for (auto name : names)
names.push_back(kv.second->name());
std::sort(names.begin(), names.end());
for (auto name : names)
simgrid::s4u::Host* host = kv.second;
if (host && host->pimpl_netpoint && host->pimpl_netpoint->isHost())
xbt_dynar_push(res, &host);
simgrid::s4u::Host* host = kv.second;
if (host && host->pimpl_netpoint && host->pimpl_netpoint->isHost())
xbt_dynar_push(res, &host);