* \return the number of cores
*/
int MSG_host_get_core_number(msg_host_t host) {
- return host->core_count();
+ return host->coresCount();
}
/** \ingroup m_host_management
*/
double MSG_host_get_power_peak_at(msg_host_t host, int pstate_index) {
xbt_assert((host != nullptr), "Invalid parameters (host is nullptr)");
- return host->powerPeakAt(pstate_index);
+ return host->getPstateSpeed(pstate_index);
}
/** \ingroup m_host_management
*/
double MSG_host_get_current_power_peak(msg_host_t host) {
xbt_assert((host != nullptr), "Invalid parameters (host is nullptr)");
- return host->currentPowerPeak();
+ return host->getPstateSpeedCurrent();
}
/** \ingroup m_host_management