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] checking if the user created the environment previously
[simgrid.git]
/
src
/
instr
/
instr_msg_volume.c
diff --git
a/src/instr/instr_msg_volume.c
b/src/instr/instr_msg_volume.c
index
987ca9e
..
8067d86
100644
(file)
--- a/
src/instr/instr_msg_volume.c
+++ b/
src/instr/instr_msg_volume.c
@@
-15,16
+15,16
@@
void TRACE_msg_volume_start(m_task_t task)
char process_name[200], process_alias[200];
char task_name[200];
double volume = 0;
char process_name[200], process_alias[200];
char task_name[200];
double volume = 0;
- if (!
IS_TRACING_VOLUME
)
+ if (!
TRACE_msg_volume_is_enabled()
)
return;
/* check if task is traced */
return;
/* check if task is traced */
- if (!
IS_TRACED(task)
)
+ if (!
task->category
)
return;
/* check if process is traced */
process = MSG_process_self();
return;
/* check if process is traced */
process = MSG_process_self();
- if (!
IS_TRACED(process)
)
+ if (!
process->category
)
return;
host = MSG_process_get_host(process);
return;
host = MSG_process_get_host(process);
@@
-44,16
+44,16
@@
void TRACE_msg_volume_finish(m_task_t task)
char task_name[200];
m_process_t process = NULL;
m_host_t host = NULL;
char task_name[200];
m_process_t process = NULL;
m_host_t host = NULL;
- if (!
IS_TRACING_VOLUME
)
+ if (!
TRACE_msg_volume_is_enabled()
)
return;
/* check if task is traced */
return;
/* check if task is traced */
- if (!
IS_TRACED(task)
)
+ if (!
task->category
)
return;
/* check if process is traced */
process = MSG_process_self();
return;
/* check if process is traced */
process = MSG_process_self();
- if (!
IS_TRACED(process)
)
+ if (!
process->category
)
return;
host = MSG_process_get_host(process);
return;
host = MSG_process_get_host(process);