CpuAction *CpuCas01::execution_start(double size)
{
- XBT_IN("(%s,%g)", getName(), size);
- CpuCas01Action *action = new CpuCas01Action(getModel(), size, isOff(), speed_.scale * speed_.peak, getConstraint());
-
- XBT_OUT();
- return action;
+ return new CpuCas01Action(getModel(), size, isOff(), speed_.scale * speed_.peak, getConstraint());
}
CpuAction *CpuCas01::sleep(double duration)
/** @brief A trace is a set of timed values, encoding the value that a variable takes at what time *
*
* It is useful to model dynamic platforms, where an external load that makes the resource availability change over time.
- * To model that, you have to set several traces per resource: one for the on/off state and one for each numerical value (computational speed, bandwidt and latency).
+ * To model that, you have to set several traces per resource: one for the on/off state and one for each numerical value (computational speed, bandwidth and latency).
*/
XBT_PUBLIC_CLASS trace {
public: