return surf_host_get_power_peak_at(host, pstate_index);
}
-double SIMIX_host_get_wattmin_at(sg_host_t host,int pstate) {
- return surf_host_get_wattmin_at(host,pstate);
-}
-double SIMIX_host_get_wattmax_at(sg_host_t host,int pstate) {
- return surf_host_get_wattmax_at(host,pstate);
-}
-
void _SIMIX_host_free_process_arg(void *data)
{
smx_process_arg_t arg = *(smx_process_arg_t*)data;
/* set surf's action */
if (!MC_is_active() && !MC_record_replay_is_active()) {
- synchro->execution.surf_exec = surf_host_execute(issuer->host, flops_amount);
+ synchro->execution.surf_exec = issuer->host->p_cpu->execute(flops_amount);
synchro->execution.surf_exec->setData(synchro);
synchro->execution.surf_exec->setPriority(priority);