summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bb31d01)
They are not implemented, not used anyway. Power is implemented in the
CPU.
-double HostL07::getPowerPeakAt(int /*pstate_index*/)
-{
- THROW_UNIMPLEMENTED;
-}
-
-int HostL07::getNbPstates()
-{
- THROW_UNIMPLEMENTED;
-}
-
-void HostL07::setPstate(int /*pstate_index*/)
-{
- THROW_UNIMPLEMENTED;
-}
-
-int HostL07::getPstate()
-{
- THROW_UNIMPLEMENTED;
-}
-
-double HostL07::getConsumedEnergy()
-{
- THROW_UNIMPLEMENTED;
-}
-
CpuL07::CpuL07(CpuL07Model *model, const char* name, xbt_dict_t props,
double power_initial, double power_scale, tmgr_trace_t power_trace,
int core, e_surf_resource_state_t state_initial, tmgr_trace_t state_trace)
CpuL07::CpuL07(CpuL07Model *model, const char* name, xbt_dict_t props,
double power_initial, double power_scale, tmgr_trace_t power_trace,
int core, e_surf_resource_state_t state_initial, tmgr_trace_t state_trace)
Action *execute(double size) {return p_cpu->execute(size);};
Action *sleep(double duration) {return p_cpu->sleep(duration);};
e_surf_resource_state_t getState();
Action *execute(double size) {return p_cpu->execute(size);};
Action *sleep(double duration) {return p_cpu->sleep(duration);};
e_surf_resource_state_t getState();
- double getPowerPeakAt(int pstate_index);
- int getNbPstates();
- void setPstate(int pstate_index);
- int getPstate();
- double getConsumedEnergy();
};
class CpuL07 : public Cpu {
};
class CpuL07 : public Cpu {