/** \ingroup m_host_management * \brief Return the speed of the processor (in flop/s) at a given pstate * * \param host host to test * \param pstate_index pstate to test * \return Returns the processor speed associated with pstate_index */ double MSG_get_host_power_peak_at(msg_host_t host, int pstate_index) { xbt_assert((host != NULL), "Invalid parameters (host is NULL)"); return (simcall_host_get_power_peak_at(host, pstate_index)); }
/** * \brief Return the speed of the processor (in flop/s) at a given pstate * * \param pstate_index pstate to test * \return Returns the processor speed associated with pstate_index */ double smpi_get_host_power_peak_at(int pstate_index) { return simcall_host_get_power_peak_at(SIMIX_host_self(), pstate_index); }