A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mc] Remove standalone mode and remove MC_do_the_modelcheck_for_real()
[simgrid.git]
/
src
/
msg
/
msg_global.c
diff --git
a/src/msg/msg_global.c
b/src/msg/msg_global.c
index 9511d5e150ff5d4db25b8c22cf32fa7379e4ed6c..6deb8957c517545c50de123aac4c50b1c4936452 100644
(file)
--- a/
src/msg/msg_global.c
+++ b/
src/msg/msg_global.c
@@
-37,9
+37,7
@@
static void _sg_cfg_cb_msg_debug_multiple_use(const char *name, int pos)
*/
void MSG_init_nocheck(int *argc, char **argv) {
*/
void MSG_init_nocheck(int *argc, char **argv) {
-#ifdef HAVE_TRACING
TRACE_global_init(argc, argv);
TRACE_global_init(argc, argv);
-#endif
xbt_getpid = MSG_process_self_PID;
if (!msg_global) {
xbt_getpid = MSG_process_self_PID;
if (!msg_global) {
@@
-124,7
+122,7
@@
msg_error_t MSG_main(void)
fflush(stderr);
if (MC_is_active()) {
fflush(stderr);
if (MC_is_active()) {
- MC_
do_the_modelcheck_for_real
();
+ MC_
run
();
} else {
SIMIX_run();
}
} else {
SIMIX_run();
}
@@
-167,11
+165,8
@@
static void MSG_exit(void) {
if (msg_global==NULL)
return;
if (msg_global==NULL)
return;
-#ifdef HAVE_TRACING
TRACE_surf_resource_utilization_release();
TRACE_end();
TRACE_surf_resource_utilization_release();
TRACE_end();
-#endif
-
free(msg_global);
msg_global = NULL;
}
free(msg_global);
msg_global = NULL;
}