SimGrid  3.14.159
Versatile Simulation of Distributed Systems
simgrid::surf::HostCLM03Model Class Reference

#include <host_clm03.hpp>

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

Public Member Functions

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...
 
- Public Member Functions inherited from simgrid::surf::HostModel
 HostModel ()
 
virtual void adjustWeightOfDummyCpuActions ()
 
virtual ActionexecuteParallelTask (int host_nb, sg_host_t *host_list, double *flops_amount, double *bytes_amount, double rate)
 
- 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 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
 
e_UM_t updateMechanism_ = UM_UNDEFINED
 
bool selectiveUpdate_
 
xbt_heap_t actionHeap_
 

Member Function Documentation

◆ nextOccuringEvent()

double simgrid::surf::HostCLM03Model::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::HostCLM03Model::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.


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