SimGrid  3.7
Scalable simulation of distributed systems
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_actionsurf_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

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

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 ?


Back to the main Simgrid Documentation page The version of SimGrid documented here is v3.7.
Documentation of other versions can be found in their respective archive files (directory doc/html).
Generated by doxygen