+/** @brief Displays debugging information about a host */
+void sg_host_dump(sg_host_t host)
+{
+ XBT_INFO("Displaying host %s", host->getCname());
+ XBT_INFO(" - speed: %.0f", host->getSpeed());
+ XBT_INFO(" - available speed: %.2f", sg_host_get_available_speed(host));
+ std::map<std::string, std::string>* props = host->getProperties();
+
+ if (not props->empty()) {
+ XBT_INFO(" - properties:");
+ for (auto const& elm : *props) {
+ XBT_INFO(" %s->%s", elm.first.c_str(), elm.second.c_str());
+ }
+ }
+}
+
+/** \brief Return the list of actors attached to an host.