Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
working implementation of storage on disks
[simgrid.git] / src / s4u / s4u_Host.cpp
index 29eb24b..02698af 100644 (file)
@@ -284,6 +284,10 @@ int Host::get_pstate() const
   return this->pimpl_cpu->get_pstate();
 }
 
+std::vector<Disk*> Host::get_disks() const
+{
+  return kernel::actor::simcall([this] { return this->pimpl_->get_disks(); });
+}
 /**
  * @ingroup simix_storage_management
  * @brief Returns the list of storages attached to a host.