#include "xbt/log.h"
#include "simgrid/simix.h"
#include <simgrid/s4u/host.hpp>
+#include <numeric>
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(msg);
*/
int MSG_get_host_number()
{
- return xbt_dict_length(host_list);
+ return sg_host_count();
}
/** \ingroup m_host_management