SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include <ptask_L07.hpp>
Public Member Functions | |
CpuL07Model (HostL07Model *hmodel, lmm_system_t sys) | |
~CpuL07Model () | |
Cpu * | createCpu (simgrid::s4u::Host *host, std::vector< double > *speedPerPstate, int core) override |
Create a Cpu. More... | |
![]() | |
void | updateActionsStateLazy (double now, double delta) override |
void | updateActionsStateFull (double now, double delta) override |
![]() | |
Model () | |
virtual | ~Model () |
virtual ActionList * | getReadyActionSet () const |
Get the set of actions in ready state. More... | |
virtual ActionList * | getRunningActionSet () const |
Get the set of actions in running state. More... | |
virtual ActionList * | getFailedActionSet () const |
Get the set of actions in failed state. More... | |
virtual ActionList * | getDoneActionSet () const |
Get the set of actions in done state. More... | |
virtual ActionLmmListPtr | getModifiedSet () const |
Get the set of modified actions. More... | |
lmm_system_t | getMaxminSystem () const |
Get the maxmin system of the current Model. More... | |
e_UM_t | getUpdateMechanism () const |
Get the update mechanism of the current Model. More... | |
void | setUpdateMechanism (e_UM_t mechanism) |
heap_type & | getActionHeap () |
Get Action heap. More... | |
double | actionHeapTopDate () const |
Action * | actionHeapPop () |
bool | actionHeapIsEmpty () const |
virtual double | nextOccuringEvent (double now) |
Share the resources between the actions. More... | |
virtual double | nextOccuringEventLazy (double now) |
virtual double | nextOccuringEventFull (double now) |
virtual void | updateActionsState (double now, double delta) |
Update action to the current time. More... | |
virtual bool | nextOccuringEventIsIdempotent () |
Returns whether this model have an idempotent shareResource() More... | |
Public Attributes | |
HostL07Model * | hostModel_ |
Additional Inherited Members | |
![]() | |
ActionLmmListPtr | modifiedSet_ |
lmm_system_t | maxminSystem_ = nullptr |
bool | selectiveUpdate_ |
simgrid::surf::CpuL07Model::CpuL07Model | ( | HostL07Model * | hmodel, |
lmm_system_t | sys | ||
) |
simgrid::surf::CpuL07Model::~CpuL07Model | ( | ) |
|
overridevirtual |
Create a Cpu.
host | The host that will have this CPU |
speedPerPstate | Processor speed (in Flops) of each pstate. This ignores any potential external load coming from a trace. |
core | The number of core of this Cpu |
Implements simgrid::surf::CpuModel.
HostL07Model* simgrid::surf::CpuL07Model::hostModel_ |