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
[trace] do not rely on preprocessor constants to control what is traced (part 2)
[simgrid.git]
/
src
/
instr
/
instr_msg_task.c
diff --git
a/src/instr/instr_msg_task.c
b/src/instr/instr_msg_task.c
index
ae92667
..
7238d8d
100644
(file)
--- a/
src/instr/instr_msg_task.c
+++ b/
src/instr/instr_msg_task.c
@@
-147,7
+147,7
@@
void TRACE_msg_task_execute_start(m_task_t task)
if (!TRACE_is_active())
return;
if (!TRACE_is_active())
return;
- if (!
IS_TRACED(task)
)
+ if (!
task->category
)
return;
TRACE_task_container(task, name, 200);
return;
TRACE_task_container(task, name, 200);
@@
-163,7
+163,7
@@
void TRACE_msg_task_execute_end(m_task_t task)
if (!TRACE_is_active())
return;
if (!TRACE_is_active())
return;
- if (!
IS_TRACED(task)
)
+ if (!
task->category
)
return;
TRACE_task_container(task, name, 200);
return;
TRACE_task_container(task, name, 200);
@@
-180,7
+180,7
@@
void TRACE_msg_task_destroy(m_task_t task)
if (!TRACE_is_active())
return;
if (!TRACE_is_active())
return;
- if (!
IS_TRACED(task)
)
+ if (!
task->category
)
return;
TRACE_task_container(task, name, 200);
return;
TRACE_task_container(task, name, 200);
@@
-208,7
+208,7
@@
void TRACE_msg_task_get_end(double start_time, m_task_t task)
if (!TRACE_is_active())
return;
if (!TRACE_is_active())
return;
- if (!
IS_TRACED(task)
)
+ if (!
task->category
)
return;
TRACE_task_container(task, name, 200);
return;
TRACE_task_container(task, name, 200);
@@
-228,7
+228,7
@@
int TRACE_msg_task_put_start(m_task_t task)
if (!TRACE_is_active())
return 0;
if (!TRACE_is_active())
return 0;
- if (!
IS_TRACED(task)
)
+ if (!
task->category
)
return 0;
TRACE_task_container(task, name, 200);
return 0;
TRACE_task_container(task, name, 200);