- Cpu(){surf_callback_emit(createCpuCallbacks, this);};
- Cpu(ModelPtr model, const char *name, xbt_dict_t props,
- lmm_constraint_t constraint, int core, double powerPeak, double powerScale);
- Cpu(ModelPtr model, const char *name, xbt_dict_t props,
- int core, double powerPeak, double powerScale);
+ /**
+ * @brief Cpu constructor
+ *
+ * @param model The CpuModel associated to this Cpu
+ * @param host The host in which this Cpu should be plugged
+ * @param constraint The lmm constraint associated to this Cpu if it is part of a LMM component
+ * @param speedPeakList [TODO]
+ * @param core The number of core of this Cpu
+ * @param speedPeak The speed peak of this Cpu in flops (max speed)
+ */
+ Cpu(simgrid::surf::Model *model, simgrid::s4u::Host *host,
+ lmm_constraint_t constraint, xbt_dynar_t speedPeakList, int core, double speedPeak);
+
+ /**
+ * @brief Cpu constructor
+ *
+ * @param model The CpuModel associated to this Cpu
+ * @param host The host in which this Cpu should be plugged
+ * @param speedPeakList [TODO]
+ * @param core The number of core of this Cpu
+ * @param speedPeak The speed peak of this Cpu in flops (max speed)
+ */
+ Cpu(simgrid::surf::Model *model, simgrid::s4u::Host *host,
+ xbt_dynar_t speedPeakList, int core, double speedPeak);
+