smaller = action->getLastUpdate();
}
if (smaller > 0) {
- TRACE_last_timestamp_to_dump = smaller;
+ simgrid::instr::TRACE_last_timestamp_to_dump = smaller;
}
}
}
TRACE_surf_host_set_utilization(cpu->cname(), action->getCategory(), lmm_variable_getvalue(action->getVariable()),
now - delta, delta);
- TRACE_last_timestamp_to_dump = now - delta;
+ simgrid::instr::TRACE_last_timestamp_to_dump = now - delta;
}
action->updateRemains(lmm_variable_getvalue(action->getVariable()) * delta);
xbt_assert(speed_.scale > 0, "Speed of host %s must be >0", host->getCname());
// Copy the power peak array:
- for (double value : *speedPerPstate) {
+ for (double const& value : *speedPerPstate) {
speedPerPstate_.push_back(value);
}
}