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] let paje output its own header
[simgrid.git]
/
src
/
instr
/
instr_paje.c
diff --git
a/src/instr/instr_paje.c
b/src/instr/instr_paje.c
index
ad83fd1
..
161436d
100644
(file)
--- a/
src/instr/instr_paje.c
+++ b/
src/instr/instr_paje.c
@@
-49,6
+49,9
@@
void TRACE_paje_start(void)
THROW1(tracing_error, TRACE_ERROR_FILE_OPEN,
"Tracefile %s could not be opened for writing.", filename);
}
THROW1(tracing_error, TRACE_ERROR_FILE_OPEN,
"Tracefile %s could not be opened for writing.", filename);
}
+
+ /* output header */
+ TRACE_paje_create_header();
}
void TRACE_paje_end(void)
}
void TRACE_paje_end(void)
@@
-58,8
+61,6
@@
void TRACE_paje_end(void)
void TRACE_paje_create_header(void)
{
void TRACE_paje_create_header(void)
{
- if (!TRACE_is_active())
- return;
fprintf(tracing_file, "\
%%EventDef PajeDefineContainerType %d \n\
%% Alias string \n\
fprintf(tracing_file, "\
%%EventDef PajeDefineContainerType %d \n\
%% Alias string \n\