SimGrid  3.11
Versatile Simulation of Distributed Systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages

Functions

void xbt_replay_action_register (const char *action_name, action_fun function)
 Registers a function to handle a kind of action. More...
 
void xbt_replay_action_unregister (const char *action_name)
 Unregisters a function, which handled a kind of action. More...
 
int xbt_replay_action_runner (int argc, char *argv[])
 function used internally to actually run the replay More...
 

Detailed Description

Function Documentation

void xbt_replay_action_register ( const char *  action_name,
action_fun  function 
)

Registers a function to handle a kind of action.

Registers a function to handle a kind of action This table is then used by xbt_replay_action_runner

The argument of the function is the line describing the action, splitted on spaces with xbt_str_split_quoted()

Parameters
action_namethe reference name of the action.
functionprototype given by the type: void...(xbt_dynar_t action)
void xbt_replay_action_unregister ( const char *  action_name)

Unregisters a function, which handled a kind of action.

Parameters
action_namethe reference name of the action.
int xbt_replay_action_runner ( int  argc,
char *  argv[] 
)

function used internally to actually run the replay

Parameters
argcargc .
argvargv