SimGrid 3.6.2
Scalable simulation of distributed systems
|
Model datatypeGeneric data structure for a model. The workstations, the CPUs and the network links are examples of models. More...
#include <surf.h>
Data Fields | |
const char * | name |
s_surf_action_state_t | states |
e_surf_action_state_t(* | action_state_get )(surf_action_t action) |
void(* | action_state_set )(surf_action_t action, e_surf_action_state_t state) |
double(* | action_get_start_time )(surf_action_t action) |
double(* | action_get_finish_time )(surf_action_t action) |
int(* | action_unref )(surf_action_t action) |
void(* | action_cancel )(surf_action_t action) |
void(* | action_recycle )(surf_action_t action) |
void(* | action_data_set )(surf_action_t action, void *data) |
void(* | suspend )(surf_action_t action) |
void(* | resume )(surf_action_t action) |
int(* | is_suspended )(surf_action_t action) |
void(* | set_max_duration )(surf_action_t action, double duration) |
void(* | set_priority )(surf_action_t action, double priority) |
double(* | get_remains )(surf_action_t action) |
Model datatype
Generic data structure for a model. The workstations, the CPUs and the network links are examples of models.
const char* surf_model::name |
Name of this model
Any living action on this model
Return the state of an action
void(* surf_model::action_state_set)(surf_action_t action, e_surf_action_state_t state) |
Change an action state
double(* surf_model::action_get_start_time)(surf_action_t action) |
Return the start time of an action
double(* surf_model::action_get_finish_time)(surf_action_t action) |
Return the finish time of an action
int(* surf_model::action_unref)(surf_action_t action) |
Specify that we don't use that action anymore
void(* surf_model::action_cancel)(surf_action_t action) |
Cancel a running action
void(* surf_model::action_recycle)(surf_action_t action) |
Recycle an action
void(* surf_model::action_data_set)(surf_action_t action, void *data) |
Set the user data of an action
void(* surf_model::suspend)(surf_action_t action) |
Suspend an action
void(* surf_model::resume)(surf_action_t action) |
Resume a suspended action
int(* surf_model::is_suspended)(surf_action_t action) |
Return whether an action is suspended
void(* surf_model::set_max_duration)(surf_action_t action, double duration) |
Set the max duration of an action
void(* surf_model::set_priority)(surf_action_t action, double priority) |
Set the priority of an action
double(* surf_model::get_remains)(surf_action_t action) |
Get the remains of an action
Back to the main Simgrid Documentation page |
The version of Simgrid documented here is v3.6.2. Documentation of other versions can be found in their respective archive files (directory doc/html). |
Generated for SimGridAPI by
![]() |