#include "xbt/ex.h" /* ex_backtrace_display */
#include "xbt/replay.h"
#include "simgrid/sg_config.h" /* Configuration mechanism of SimGrid */
-
+#include "src/surf/callbacks.h"
XBT_LOG_NEW_CATEGORY(msg, "All MSG categories");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_kernel, msg,
msg_global->debug_multiple_use = xbt_cfg_get_boolean(_sg_cfg_set, name);
}
+static void MSG_host_create_(sg_host_t host)
+{
+ __MSG_host_create(host);
+}
+
/**
* \ingroup msg_simulation
* \brief Initialize MSG with less verifications
SIMIX_function_register_process_cleanup(MSG_process_cleanup_from_SIMIX);
sg_platf_postparse_add_cb(MSG_post_create_environment);
+ surf_on_host_created(MSG_host_create_);
}
if(MC_is_active()){