SimGrid  3.18
Versatile Simulation of Distributed Systems
simgrid::surf::HostL07Model Class Reference

#include <ptask_L07.hpp>

Inheritance diagram for simgrid::surf::HostL07Model:
simgrid::surf::HostModel simgrid::surf::Model

Public Member Functions

 HostL07Model ()
 
 ~HostL07Model ()
 
double nextOccuringEvent (double now) override
 Share the resources between the actions. More...
 
void updateActionsState (double now, double delta) override
 Update action to the current time. More...
 
ActionexecuteParallelTask (int host_nb, sg_host_t *host_list, double *flops_amount, double *bytes_amount, double rate) override
 
- Public Member Functions inherited from simgrid::surf::HostModel
 HostModel ()
 
virtual void ignoreEmptyVmInPmLMM ()
 
- Public Member Functions inherited from simgrid::surf::Model
 Model ()
 
virtual ~Model ()
 
virtual ActionListgetReadyActionSet () const
 Get the set of actions in ready state. More...
 
virtual ActionListgetRunningActionSet () const
 Get the set of actions in running state. More...
 
virtual ActionListgetFailedActionSet () const
 Get the set of actions in failed state. More...
 
virtual ActionListgetDoneActionSet () 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_typegetActionHeap ()
 Get Action heap. More...
 
double actionHeapTopDate () const
 
ActionactionHeapPop ()
 
bool actionHeapIsEmpty () const
 
virtual double nextOccuringEventLazy (double now)
 
virtual double nextOccuringEventFull (double now)
 
virtual void updateActionsStateLazy (double now, double delta)
 
virtual void updateActionsStateFull (double now, double delta)
 
virtual bool nextOccuringEventIsIdempotent ()
 Returns whether this model have an idempotent shareResource() More...
 

Additional Inherited Members

- Protected Attributes inherited from simgrid::surf::Model
ActionLmmListPtr modifiedSet_
 
lmm_system_t maxminSystem_ = nullptr
 
bool selectiveUpdate_
 

Constructor & Destructor Documentation

◆ HostL07Model()

simgrid::surf::HostL07Model::HostL07Model ( )

◆ ~HostL07Model()

simgrid::surf::HostL07Model::~HostL07Model ( )

Member Function Documentation

◆ nextOccuringEvent()

double simgrid::surf::HostL07Model::nextOccuringEvent ( double  now)
overridevirtual

Share the resources between the actions.

Parameters
nowThe current time of the simulation
Returns
The delta of time till the next action will finish

Reimplemented from simgrid::surf::Model.

◆ updateActionsState()

void simgrid::surf::HostL07Model::updateActionsState ( double  now,
double  delta 
)
overridevirtual

Update action to the current time.

Parameters
nowThe current time of the simulation
deltaThe delta of time since the last update

Reimplemented from simgrid::surf::Model.

◆ executeParallelTask()

Action * simgrid::surf::HostL07Model::executeParallelTask ( int  host_nb,
sg_host_t host_list,
double *  flops_amount,
double *  bytes_amount,
double  rate 
)
overridevirtual

Reimplemented from simgrid::surf::HostModel.


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