The basic workflow is the following (check the \ref MSG_examples for
details).
- -# Initialize the library with #MSG_global_init
+ -# Initialize the library with #MSG_init
-# Create a platform (usually by parsing a file with
#MSG_create_environment)
-# Register the functions that your processes are supposed to run with
/** @defgroup m_process_management Process Management Functions
* @ingroup MSG_API
* @brief This section describes the process structure of MSG
- * (#m_process_t) and the functions for managing it.
+ * (#msg_process_t) and the functions for managing it.
*/
/** @defgroup m_host_management Host Management Functions
/** @defgroup m_task_management Task Management Functions
* @ingroup MSG_API
* @brief This section describes the task structure of MSG
- * (#m_task_t) and the functions for managing it. See
+ * (#msg_task_t) and the functions for managing it. See
* \ref msg_task_usage to see how to put the tasks in action.
*
* \htmlonly <!-- DOXYGEN_NAVBAR_LABEL="Tasks" --> \endhtmlonly
In such situations, SimGrid allows to write your protocol in your C
file, and the events to react to in a separate text file. Declare a
function handling each of the events that you want to accept in your
-trace files, register them using #MSG_action_register in your main,
+trace files, register them using #xbt_replay_action_register in your main,
and then use #MSG_action_trace_run to launch the simulation. You can
either have one trace file containing all your events, or a file per
simulated process.