return simgrid::simix::kernel([&] {
simgrid::surf::Host* surf_host = this->extension<simgrid::surf::Host>();
return surf_host->getProperties();
return simgrid::simix::kernel([&] {
simgrid::surf::Host* surf_host = this->extension<simgrid::surf::Host>();
return surf_host->getProperties();
{
return simgrid::simix::kernel([&]() {
return ((smx_host_priv_t)this->extension(SIMIX_HOST_LEVEL))->process_list;
{
return simgrid::simix::kernel([&]() {
return ((smx_host_priv_t)this->extension(SIMIX_HOST_LEVEL))->process_list;
{
simgrid::simix::kernel(std::bind(
&simgrid::surf::Cpu::setPState, pimpl_cpu, pstate_index
));
}
/** @brief Retrieve the pstate at which the host is currently running */
{
simgrid::simix::kernel(std::bind(
&simgrid::surf::Cpu::setPState, pimpl_cpu, pstate_index
));
}
/** @brief Retrieve the pstate at which the host is currently running */
* \brief Returns the list of storages mounted on an host.
* \return a dict containing all storages mounted on the host
*/
* \brief Returns the list of storages mounted on an host.
* \return a dict containing all storages mounted on the host
*/
{
return simgrid::simix::kernel([&] {
return this->extension<simgrid::surf::Host>()->getMountedStorageList();
{
return simgrid::simix::kernel([&] {
return this->extension<simgrid::surf::Host>()->getMountedStorageList();
* \brief Returns the list of storages attached to an host.
* \return a dict containing all storages attached to the host
*/
* \brief Returns the list of storages attached to an host.
* \return a dict containing all storages attached to the host
*/
{
return simgrid::simix::kernel([&] {
return this->extension<simgrid::surf::Host>()->getAttachedStorageList();
{
return simgrid::simix::kernel([&] {
return this->extension<simgrid::surf::Host>()->getAttachedStorageList();