/** \ingroup msg_simulation * \brief Clean the MSG simulation */ MSG_error_t MSG_clean(void) { #ifdef HAVE_TRACING TRACE_surf_release(); #endif MSG_process_killall(0); free(msg_global); msg_global = NULL; /* initialization of the action module */ _MSG_action_exit(); #ifdef HAVE_TRACING TRACE_end(); #endif SIMIX_clean(); // Exit the LIB host_lib xbt_lib_free(&host_lib); xbt_lib_free(&link_lib); xbt_lib_free(&as_router_lib); return MSG_OK; }
void clean() { SIMIX_clean(); }