/** \ingroup m_host_management * \brief Return the current speed of the processor (in flop/s) * * \param host host to test * \return Returns the current processor speed */ double MSG_get_host_current_power_peak(msg_host_t host) { xbt_assert((host != NULL), "Invalid parameters (host is NULL)"); return simcall_host_get_current_power_peak(host); }
/** * \brief Return the current speed of the processor (in flop/s) * * \return Returns the current processor speed */ double smpi_get_host_current_power_peak(void) { return simcall_host_get_current_power_peak(SIMIX_host_self()); }