- double peak_at = MSG_host_get_power_peak_at(host, new_peak_index);
- XBT_INFO("Changing power peak value to %f (at index %d)", peak_at, new_peak_index);
+ double peak_at = MSG_host_get_power_peak_at(host, new_pstate);
+ XBT_INFO("Changing power peak value to %f (at index %d)", peak_at, new_pstate);