-}
-
-CpuL07::CpuL07(CpuL07Model *model, const char* name, xbt_dict_t props,
- double speedInitial, double speedScale, tmgr_trace_t speedTrace,
- int core, e_surf_resource_state_t state_initial, tmgr_trace_t state_trace)
- : Cpu(model, name, props, lmm_constraint_new(ptask_maxmin_system, this, speedInitial * speedScale),
- core, speedInitial, speedScale, state_initial)
-{
- xbt_assert(m_speedScale > 0, "Power has to be >0");
+ p_constraint = lmm_constraint_new(model->getMaxminSystem(), this, xbt_dynar_get_as(speedPeakList,pstate,double) * speedScale);