SimGrid: SURF actions

SimGrid 3.10 Versatile Simulation of Distributed Systems

- Home page
- Online documentation
- Dev's Corner

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Structures | Typedefs | Enumerations
SURF actions
SURF

This section describes the different datatypes and operations related to the actions in SURF. More...

## Data Structures
struct | surf_action
| Action structure. More...
struct | surf_action_state
| Action state sets. More...

## Typedefs
typedef struct surf_action * | surf_action_t
| Action datatype.
typedef struct surf_action | s_surf_action_t
| Action structure.
typedef struct surf_action_state | s_surf_action_state_t
| Action state sets.

## Enumerations
enum | e_surf_action_state_t { SURF_ACTION_READY = 0, SURF_ACTION_RUNNING, SURF_ACTION_FAILED, SURF_ACTION_DONE, SURF_ACTION_TO_FREE, SURF_ACTION_NOT_IN_THE_SYSTEM }
| Action states. More...

## Detailed Description

This section describes the different datatypes and operations related to the actions in SURF.

## Typedef Documentation

typedef struct surf_action* surf_action_t

Action datatype.

An action is some working amount on a model. It is represented as a cost, a priority, a duration and a state.

typedef struct surf_action s_surf_action_t

Action structure.

Never create s_surf_action_t by yourself ! The actions are created on the fly when you call execute or communicate on a model.

See Also
  e_surf_action_state_t

typedef struct surf_action_state s_surf_action_state_t

Action state sets.

This structure contains some sets of actions. It provides a fast access to the actions in each state.

See Also
  surf_action_t, e_surf_action_state_t

## Enumeration Type Documentation

enum e_surf_action_state_t

Action states.

Action states.

See Also
  surf_action_t, surf_action_state_t

Enumerator:

  SURF_ACTION_READY | Ready
  SURF_ACTION_RUNNING | Running
  SURF_ACTION_FAILED | Task Failure
  SURF_ACTION_DONE | Completed
  SURF_ACTION_TO_FREE | Action to free in next cleanup
  SURF_ACTION_NOT_IN_THE_SYSTEM | Not in the system anymore. Why did you ask ?