return pimpl_->get_actor_count();
}
-/** @deprecated */
-void Host::getProcesses(std::vector<ActorPtr>* list)
-{
- auto actors = get_all_actors();
- for (auto& actor : actors)
- list->push_back(actor);
-}
-
-/** @deprecated */
-void Host::actorList(std::vector<ActorPtr>* whereto)
-{
- auto actors = get_all_actors();
- for (auto& actor : actors)
- whereto->push_back(actor);
-}
-
/**
* @brief Find a route toward another host
*
/** @brief Get the peak processor speed (in flops/s), at the specified pstate */
double Host::get_pstate_speed(int pstate_index) const
{
- return simix::simcall([this, pstate_index] { return this->pimpl_cpu->get_pstate_peak_speed(pstate_index); });
+ return this->pimpl_cpu->get_pstate_peak_speed(pstate_index);
}
/** @brief Get the peak computing speed in flops/s at the current pstate, NOT taking the external load into account.
return simix::simcall([this] { return this->pimpl_->get_attached_storages(); });
}
-void Host::getAttachedStorages(std::vector<const char*>* storages)
-{
- std::vector<const char*> local_storages = simix::simcall([this] { return this->pimpl_->get_attached_storages(); });
- for (auto elm : local_storages)
- storages->push_back(elm);
-}
-
std::unordered_map<std::string, Storage*> const& Host::get_mounted_storages()
{
if (mounts_ == nullptr) {