SURF storage action interface class.
|
| StorageAction (Model *model, double cost, bool failed, StorageImpl *storage, e_surf_action_storage_type_t type) |
| StorageAction constructor. More...
|
|
| StorageAction (Model *model, double cost, bool failed, lmm_variable_t var, StorageImpl *storage, e_surf_action_storage_type_t type) |
| StorageAction constructor. More...
|
|
void | setState (simgrid::surf::Action::State state) override |
| Set the state of the current Action. More...
|
|
| Action (simgrid::surf::Model *model, double cost, bool failed) |
| Action constructor. More...
|
|
| Action (simgrid::surf::Model *model, double cost, bool failed, lmm_variable_t var) |
| Action constructor. More...
|
|
virtual | ~Action () |
| Destructor. More...
|
|
void | finish () |
| Mark that the action is now finished. More...
|
|
Action::State | getState () |
| Get the state of the current Action. More...
|
|
double | getBound () |
| Get the bound of the current Action. More...
|
|
void | setBound (double bound) |
| Set the bound of the current Action. More...
|
|
double | getStartTime () |
| Get the start time of the current action. More...
|
|
double | getFinishTime () |
| Get the finish time of the current action. More...
|
|
void * | getData () |
| Get the user data associated to the current action. More...
|
|
void | setData (void *data) |
| Set the user data associated to the current action. More...
|
|
double | getCost () |
| Get the cost of the current action. More...
|
|
void | setCost (double cost) |
| Set the cost of the current action. More...
|
|
void | updateMaxDuration (double delta) |
| Update the maximum duration of the current action. More...
|
|
void | updateRemains (double delta) |
| Update the remaining time of the current action. More...
|
|
void | setRemains (double value) |
| Set the remaining time of the current action. More...
|
|
virtual double | getRemains () |
| Get the remaining time of the current action after updating the resource. More...
|
|
double | getRemainsNoUpdate () |
| Get the remaining time of the current action without updating the resource. More...
|
|
void | setFinishTime (double value) |
| Set the finish time of the current action. More...
|
|
void | ref () |
| Add a reference to the current action (refcounting) More...
|
|
virtual int | unref () |
| Unref that action (and destroy it if refcount reaches 0) More...
|
|
virtual void | cancel () |
| Cancel the current Action if running. More...
|
|
virtual void | suspend () |
| Suspend the current Action. More...
|
|
virtual void | resume () |
| Resume the current Action. More...
|
|
virtual bool | isSuspended () |
| Returns true if the current action is running. More...
|
|
double | getMaxDuration () |
| Get the maximum duration of the current action. More...
|
|
virtual void | setMaxDuration (double duration) |
| Set the maximum duration of the current Action. More...
|
|
char * | getCategory () |
| Get the tracing category associated to the current action. More...
|
|
void | setCategory (const char *category) |
| Set the tracing category of the current Action. More...
|
|
double | getPriority () |
| Get the priority of the current Action. More...
|
|
virtual void | setPriority (double priority) |
| Set the priority of the current Action. More...
|
|
ActionList * | getStateSet () |
| Get the state set in which the action is. More...
|
|
simgrid::surf::Model * | getModel () |
|
virtual void | updateRemainingLazy (double now) |
|
void | heapInsert (xbt_heap_t heap, double key, enum heap_action_type hat) |
|
void | heapRemove (xbt_heap_t heap) |
|
void | heapUpdate (xbt_heap_t heap, double key, enum heap_action_type hat) |
|
void | updateIndexHeap (int i) |
|
lmm_variable_t | getVariable () |
|
double | getLastUpdate () |
|
void | refreshLastUpdate () |
|
enum heap_action_type | getHat () |
|
bool | is_linked () |
|
void | gapRemove () |
|