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
model-checker : ignore some variables enabled with tracing, and variables about excep...
[simgrid.git]
/
src
/
instr
/
instr_msg_process.c
diff --git
a/src/instr/instr_msg_process.c
b/src/instr/instr_msg_process.c
index
a2d8901
..
29d321b
100644
(file)
--- 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"
* 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
#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 (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++);
char key[INSTR_DEFAULT_STR_SIZE];
snprintf (key, INSTR_DEFAULT_STR_SIZE, "%lld", counter++);