SimGrid  3.13
Versatile Simulation of Distributed Systems
simgrid::surf::CpuL07Model Class Reference

#include <ptask_L07.hpp>

Inheritance diagram for simgrid::surf::CpuL07Model:
simgrid::surf::CpuModel simgrid::surf::Model

Public Member Functions

 CpuL07Model (HostL07Model *hmodel, lmm_system_t sys)
 
 ~CpuL07Model ()
 
CpucreateCpu (simgrid::s4u::Host *host, xbt_dynar_t speedPerPstate, int core) override
 Create a Cpu. More...
 
- Public Member Functions inherited from simgrid::surf::CpuModel
 CpuModel ()
 
void updateActionsStateLazy (double now, double delta)
 
void updateActionsStateFull (double now, double delta)
 
bool next_occuring_event_isIdempotent ()
 Returns whether this model have an idempotent shareResource() More...
 
- Public Member Functions inherited from simgrid::surf::Model
 Model ()
 
virtual ~Model ()
 
virtual ActionListgetReadyActionSet ()
 Get the set of actions in ready state. More...
 
virtual ActionListgetRunningActionSet ()
 Get the set of actions in running state. More...
 
virtual ActionListgetFailedActionSet ()
 Get the set of actions in failed state. More...
 
virtual ActionListgetDoneActionSet ()
 Get the set of actions in done state. More...
 
virtual ActionLmmListPtr getModifiedSet ()
 Get the set of modified actions. More...
 
lmm_system_t getMaxminSystem ()
 Get the maxmin system of the current Model. More...
 
e_UM_t getUpdateMechanism ()
 Get the update mechanism of the current Model. More...
 
xbt_heap_t getActionHeap ()
 Get Action heap. More...
 
virtual double next_occuring_event (double now)
 Share the resources between the actions. More...
 
virtual double next_occuring_event_lazy (double now)
 
virtual double next_occuring_event_full (double now)
 
double shareResourcesMaxMin (ActionList *running_actions, lmm_system_t sys, void(*solve)(lmm_system_t))
 
virtual void updateActionsState (double now, double delta)
 Update action to the current time. More...
 

Public Attributes

HostL07Modelp_hostModel
 

Additional Inherited Members

- Protected Attributes inherited from simgrid::surf::Model
ActionLmmListPtr modifiedSet_
 
lmm_system_t maxminSystem_ = nullptr
 
e_UM_t updateMechanism_ = UM_UNDEFINED
 
int selectiveUpdate_
 
xbt_heap_t actionHeap_
 

Constructor & Destructor Documentation

simgrid::surf::CpuL07Model::CpuL07Model ( HostL07Model hmodel,
lmm_system_t  sys 
)
simgrid::surf::CpuL07Model::~CpuL07Model ( )

Member Function Documentation

Cpu * simgrid::surf::CpuL07Model::createCpu ( simgrid::s4u::Host *  host,
xbt_dynar_t  speedPerPstate,
int  core 
)
overridevirtual

Create a Cpu.

Parameters
hostThe host that will have this CPU
speedPerPstateProcessor speed (in Flops) of each pstate. This ignores any potential external load coming from a trace.
coreThe number of core of this Cpu

Implements simgrid::surf::CpuModel.

Member Data Documentation

HostL07Model* simgrid::surf::CpuL07Model::p_hostModel

The documentation for this class was generated from the following files: