|
SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include <storage_n11.hpp>
Public Member Functions | |
| StorageImpl * | createStorage (std::string id, std::string type_id, std::string content_name, std::string attach) override |
| 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::StorageModel | |
| StorageModel () | |
| ~StorageModel () | |
Public Member Functions inherited from simgrid::surf::Model | |
| 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 | 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 | |
Public Attributes inherited from simgrid::surf::StorageModel | |
| std::vector< StorageImpl * > | p_storageList |
Protected Attributes inherited from simgrid::surf::Model | |
| ActionLmmListPtr | modifiedSet_ |
| lmm_system_t | maxminSystem_ = nullptr |
| bool | selectiveUpdate_ |
|
overridevirtual |
Implements simgrid::surf::StorageModel.
|
overridevirtual |
Share the resources between the actions.
| now | The current time of the simulation |
Reimplemented from simgrid::surf::Model.
|
overridevirtual |
Update action to the current time.
| now | The current time of the simulation |
| delta | The delta of time since the last update |
Reimplemented from simgrid::surf::Model.