X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d90a41491cfb04188c4469729fa60d01ec0ff693..7526c37879613289a86be06ec264b1cce5ef4049:/src/instr/instr_msg_process.c diff --git a/src/instr/instr_msg_process.c b/src/instr/instr_msg_process.c index a2d89013b5..29d321b643 100644 --- a/src/instr/instr_msg_process.c +++ b/src/instr/instr_msg_process.c @@ -5,6 +5,7 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "instr/instr_private.h" +#include "mc/mc.h" #ifdef HAVE_TRACING @@ -28,6 +29,10 @@ void TRACE_msg_process_change_host(msg_process_t process, msg_host_t old_host, m { if (TRACE_msg_process_is_enabled()){ static long long int counter = 0; + + if(MC_is_active()) + MC_ignore_data_bss(&counter, sizeof(counter)); + char key[INSTR_DEFAULT_STR_SIZE]; snprintf (key, INSTR_DEFAULT_STR_SIZE, "%lld", counter++);