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

#include <storage_n11.hpp>

Inheritance diagram for simgrid::surf::StorageN11Model:
simgrid::surf::StorageModel simgrid::surf::Model

Public Member Functions

 StorageN11Model ()
 
 ~StorageN11Model ()
 
Storage * createStorage (const char *id, const char *type_id, const char *content_name, const char *content_type, xbt_dict_t properties, const char *attach) override
 Create a Storage. More...
 
double next_occuring_event (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::StorageModel
 StorageModel ()
 
 ~StorageModel ()
 
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 ActionList * getReadyActionSet ()
 Get the set of actions in ready state. More...
 
virtual ActionList * getRunningActionSet ()
 Get the set of actions in running state. More...
 
virtual ActionList * getFailedActionSet ()
 Get the set of actions in failed state. More...
 
virtual ActionList * getDoneActionSet ()
 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_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 updateActionsStateLazy (double now, double delta)
 
virtual void updateActionsStateFull (double now, double delta)
 

Additional Inherited Members

- Public Attributes inherited from simgrid::surf::StorageModel
xbt_dynar_t p_storageList
 
- 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::StorageN11Model::StorageN11Model ( )
simgrid::surf::StorageN11Model::~StorageN11Model ( )

Member Function Documentation

Storage * simgrid::surf::StorageN11Model::createStorage ( const char *  id,
const char *  type_id,
const char *  content_name,
const char *  content_type,
xbt_dict_t  properties,
const char *  attach 
)
overridevirtual

Create a Storage.

Parameters
id[description]
type_id[description]
content_name[description]
content_type[description]
properties[description]
attach[description]
Returns
The created Storage

Implements simgrid::surf::StorageModel.

double simgrid::surf::StorageN11Model::next_occuring_event ( 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.

void simgrid::surf::StorageN11Model::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: