|
SimGrid
3.12
Versatile Simulation of Distributed Systems
|
SURF storage model interface class. More...
#include <storage_interface.hpp>
Public Member Functions | |
| StorageModel () | |
| The storage model constructor. | |
| ~StorageModel () | |
| The Storange model destructor. | |
| virtual Storage * | createStorage (const char *id, const char *type_id, const char *content_name, const char *content_type, xbt_dict_t properties, const char *attach)=0 |
| Create a Storage. More... | |
| bool | shareResourcesIsIdempotent () |
| Returns whether this model have an idempotent shareResource() More... | |
Public Member Functions inherited from Model | |
| Model () | |
| Constructor. | |
| virtual | ~Model () |
| Destructor. | |
| 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 | shareResources (double now) |
| share the resources More... | |
| virtual void | updateActionsState (double now, double delta) |
| Update state of actions. More... | |
SURF storage model interface class.
A model is an object which handle the interactions between its Resources and its Actions
|
pure virtual |
|
inlinevirtual |
Returns whether this model have an idempotent shareResource()
The only model that is not is NS3: computing the next timestamp moves the model up to that point, so we need to call it only when the next timestamp of other sources is computed.
Implements Model.