+class CpuL07 : public Cpu {
+ friend void WorkstationL07Model::addTraces();
+ tmgr_trace_event_t p_stateEvent;
+ tmgr_trace_event_t p_powerEvent;
+public:
+ CpuL07(CpuL07ModelPtr model, const char* name, xbt_dict_t properties,
+ double power_scale, double power_initial, tmgr_trace_t power_trace,
+ int core, e_surf_resource_state_t state_initial, tmgr_trace_t state_trace);
+ bool isUsed();
+ //bool isUsed() {DIE_IMPOSSIBLE;};
+ void updateState(tmgr_trace_event_t event_type, double value, double date);
+ CpuActionPtr execute(double /*size*/) {DIE_IMPOSSIBLE;};
+ CpuActionPtr sleep(double /*duration*/) {DIE_IMPOSSIBLE;};
+
+ double getCurrentPowerPeak() {THROW_UNIMPLEMENTED;};
+ double getPowerPeakAt(int /*pstate_index*/) {THROW_UNIMPLEMENTED;};
+ int getNbPstates() {THROW_UNIMPLEMENTED;};
+ void setPowerPeakAt(int /*pstate_index*/) {THROW_UNIMPLEMENTED;};
+ double getConsumedEnergy() {THROW_UNIMPLEMENTED;};