SimGrid
3.18
Versatile Simulation of Distributed Systems
|
Describes the c bindings of SURF.
Typedefs | |
typedef simgrid::surf::Model * | surf_model_t |
Model datatype. More... | |
typedef simgrid::surf::Action * | surf_action_t |
Action structure. More... | |
surf_action_t | surf_model_extract_done_action_set (surf_model_t model) |
Pop an action from the done actions set. More... | |
surf_action_t | surf_model_extract_failed_action_set (surf_model_t model) |
Pop an action from the failed actions set. More... | |
int | surf_model_running_action_set_size (surf_model_t model) |
Get the size of the running action set of a model. More... | |
void | surf_cpu_action_set_bound (surf_action_t action, double bound) |
[brief description] More... | |
double | surf_network_action_get_latency_limited (surf_action_t action) |
[brief description] More... | |
typedef simgrid::surf::Model* surf_model_t |
Model datatype.
Generic data structure for a model. The hosts, the CPUs and the network links are examples of models.
typedef simgrid::surf::Action* 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.
surf_action_t surf_model_extract_done_action_set | ( | surf_model_t | model | ) |
Pop an action from the done actions set.
model | The model from which the action is extracted |
surf_action_t surf_model_extract_failed_action_set | ( | surf_model_t | model | ) |
Pop an action from the failed actions set.
model | The model from which the action is extracted |
int surf_model_running_action_set_size | ( | surf_model_t | model | ) |
Get the size of the running action set of a model.
model | The model |
void surf_cpu_action_set_bound | ( | surf_action_t | action, |
double | bound | ||
) |
[brief description]
[long description]
action | The surf cpu action |
bound | [description] |
double surf_network_action_get_latency_limited | ( | surf_action_t | action | ) |
[brief description]
[long description]
action | The surf network action |