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
task->counter is initialized only when HAVE_TRACING.
[simgrid.git]
/
src
/
msg
/
instr_msg_task.c
diff --git
a/src/msg/instr_msg_task.c
b/src/msg/instr_msg_task.c
index
52acde4
..
4334eac
100644
(file)
--- a/
src/msg/instr_msg_task.c
+++ b/
src/msg/instr_msg_task.c
@@
-1,8
+1,8
@@
-/* Copyright (c) 2010. The SimGrid Team.
+/* Copyright (c) 2010
, 2012-2014
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
-
* under the terms of the license (GNU LGPL) which comes with this package. */
+ * under the terms of the license (GNU LGPL) which comes with this package. */
#include "instr/instr_private.h"
#include "msg_private.h"
#include "instr/instr_private.h"
#include "msg_private.h"
@@
-39,10
+39,8
@@
void TRACE_msg_task_create(msg_task_t task)
task->counter = counter++;
task->category = NULL;
task->counter = counter++;
task->category = NULL;
- if(MC_is_active()){
- MC_ignore_data_bss(&counter, sizeof(counter));
+ if(MC_is_active())
MC_ignore_heap(&(task->counter), sizeof(task->counter));
MC_ignore_heap(&(task->counter), sizeof(task->counter));
- }
XBT_DEBUG("CREATE %p, %lld", task, task->counter);
}
XBT_DEBUG("CREATE %p, %lld", task, task->counter);
}