/** * \brief Return the number of pstates defined for the current host */ int smpi_get_host_nb_pstates() { return sg_host_get_nb_pstates(SIMIX_host_self()); }
/** \ingroup m_host_management * \brief Return the total count of pstates defined for a host. See also @ref SURF_plugin_energy. * * \param host host to test */ int MSG_host_get_nb_pstates(msg_host_t host) { return sg_host_get_nb_pstates(host); }