SimGrid  3.16
Versatile Simulation of Distributed Systems

Detailed Description

Functions

int simgrid::xbt::replay_runner (int argc, char *argv[])
 function used internally to actually run the replay More...
 
void xbt_replay_action_register (const char *action_name, action_fun function)
 Registers a function to handle a kind of action. More...
 
action_fun xbt_replay_action_get (const char *action_name)
 Get the function that was previously registered to handle a kind of action. More...
 

Function Documentation

◆ replay_runner()

int simgrid::xbt::replay_runner ( int  argc,
char *  argv[] 
)

function used internally to actually run the replay

Examples:
examples/s4u/actions-comm/s4u_actions-comm.cpp, and examples/s4u/actions-storage/s4u_actions-storage.cpp.

◆ xbt_replay_action_register()

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, fields separated by spaces.

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

◆ xbt_replay_action_get()

action_fun xbt_replay_action_get ( const char *  action_name)

Get the function that was previously registered to handle a kind of action.

This can be useful if you want to override and extend an existing action.