|
| CpuCas01 (CpuCas01Model *model, simgrid::s4u::Host *host, xbt_dynar_t speedPerPstate, int core) |
|
| ~CpuCas01 () |
|
void | apply_event (tmgr_trace_iterator_t event, double value) override |
| Apply an event of external load event to that resource. More...
|
|
CpuAction * | execution_start (double size) override |
| Execute some quantity of computation. More...
|
|
CpuAction * | sleep (double duration) override |
| Make a process sleep for duration (in seconds) More...
|
|
bool | isUsed () override |
| Check if the current Resource is used (if it currently serves an action) More...
|
|
xbt_dynar_t | getSpeedPeakList () |
|
| Cpu (simgrid::surf::Model *model, simgrid::s4u::Host *host, lmm_constraint_t constraint, xbt_dynar_t speedPerPstate, int core) |
| Cpu constructor. More...
|
|
| Cpu (simgrid::surf::Model *model, simgrid::s4u::Host *host, xbt_dynar_t speedPerPstate, int core) |
| Cpu constructor. More...
|
|
| ~Cpu () |
|
virtual int | getCore () |
| Get the amount of cores. More...
|
|
virtual double | getSpeed (double load) |
| Get the speed, accounting for the trace load and provided process load instead of the real current one. More...
|
|
virtual double | getAvailableSpeed () |
| Get the available speed of the current Cpu. More...
|
|
virtual double | getCurrentPowerPeak () |
| Get the current Cpu power peak. More...
|
|
virtual double | getPowerPeakAt (int pstate_index) |
|
virtual int | getNbPStates () |
|
virtual void | setPState (int pstate_index) |
|
virtual int | getPState () |
|
simgrid::s4u::Host * | getHost () |
|
virtual void | setStateTrace (tmgr_trace_t trace) |
|
virtual void | setSpeedTrace (tmgr_trace_t trace) |
|
| Resource (Model *model, const char *name) |
| Constructor of non-LMM Resources. More...
|
|
| Resource (Model *model, const char *name, lmm_constraint_t constraint) |
| Constructor of LMM Resources. More...
|
|
virtual | ~Resource () |
|
Model * | getModel () const |
| Get the Model of the current Resource. More...
|
|
const char * | getName () const |
| Get the name of the current Resource. More...
|
|
bool | operator== (const Resource &other) const |
|
virtual bool | isOn () const |
| Check if the current Resource is active. More...
|
|
virtual bool | isOff () const |
| Check if the current Resource is shut down. More...
|
|
virtual void | turnOn () |
| Turn on the current Resource. More...
|
|
virtual void | turnOff () |
| Turn off the current Resource. More...
|
|
lmm_constraint_t | getConstraint () const |
| Get the lmm constraint associated to this Resource if it is part of a LMM component (or null if none) More...
|
|