SimGrid  3.14.159
Versatile Simulation of Distributed Systems
msg_global.cpp File Reference
#include "simgrid/s4u/host.hpp"
#include "instr/instr_interface.h"
#include "mc/mc.h"
#include "src/msg/msg_private.h"
#include "src/surf/xml/platf_private.hpp"

Functions

 XBT_LOG_NEW_CATEGORY (msg, "All MSG categories")
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (msg_kernel, msg, "Logging specific to MSG (kernel)")
 
static void MSG_exit ()
 
static void _sg_cfg_cb_msg_debug_multiple_use (const char *name)
 
static void MSG_host_create_ (sg_host_t host)
 
void MSG_init_nocheck (int *argc, char **argv)
 Initialize MSG with less verifications You should use the MSG_init() function instead. More...
 
msg_error_t MSG_main ()
 Launch the MSG simulation. More...
 
void MSG_config (const char *key, const char *value)
 set a configuration variable More...
 
int MSG_process_killall (int reset_PIDs)
 Kill all running process. More...
 
double MSG_get_clock ()
 A clock (in second). More...
 
unsigned long int MSG_get_sent_msg ()
 

Variables

MSG_Global_t msg_global = nullptr
 

Function Documentation

◆ XBT_LOG_NEW_CATEGORY()

XBT_LOG_NEW_CATEGORY ( msg  ,
"All MSG categories"   
)

◆ XBT_LOG_NEW_DEFAULT_SUBCATEGORY()

XBT_LOG_NEW_DEFAULT_SUBCATEGORY ( msg_kernel  ,
msg  ,
"Logging specific to MSG (kernel)"   
)

◆ MSG_exit()

static void MSG_exit ( )
static

◆ _sg_cfg_cb_msg_debug_multiple_use()

static void _sg_cfg_cb_msg_debug_multiple_use ( const char *  name)
static

◆ MSG_host_create_()

static void MSG_host_create_ ( sg_host_t  host)
static

◆ MSG_get_sent_msg()

unsigned long int MSG_get_sent_msg ( )

Variable Documentation

◆ msg_global

MSG_Global_t msg_global = nullptr