*/
XBT_PUBLIC_CLASS CpuModel : public Model {
public:
- CpuModel() : Model() {};
- ~CpuModel() override;
-
/**
* @brief Create a Cpu
*
void updateActionsStateLazy(double now, double delta) override;
void updateActionsStateFull(double now, double delta) override;
- bool next_occuring_event_isIdempotent() override;
};
/************
virtual simgrid::surf::Action *sleep(double duration)=0;
/** @brief Get the amount of cores */
- virtual int getCoreCount();
+ virtual int coreCount();
/** @brief Get the speed, accounting for the trace load and provided process load instead of the real current one */
virtual double getSpeed(double load);