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] give users the possibility to pause/resume all tracing activities
[simgrid.git]
/
src
/
instr
/
instr_config.c
diff --git
a/src/instr/instr_config.c
b/src/instr/instr_config.c
index
f6d2e21
..
44b1f3f
100644
(file)
--- a/
src/instr/instr_config.c
+++ b/
src/instr/instr_config.c
@@
-634,6
+634,18
@@
void TRACE_generate_viva_cat_conf (void)
generate_cat_configuration (TRACE_get_viva_cat_conf(), "viva", 0);
}
generate_cat_configuration (TRACE_get_viva_cat_conf(), "viva", 0);
}
+void instr_pause_tracing (void)
+{
+ trace_enabled = 0;
+ XBT_DEBUG ("Tracing is paused.");
+}
+
+void instr_resume_tracing (void)
+{
+ trace_enabled = 1;
+ XBT_DEBUG ("Tracing is resumed.");
+}
+
#undef OPT_TRACING
#undef OPT_TRACING_PLATFORM
#undef OPT_TRACING_SMPI
#undef OPT_TRACING
#undef OPT_TRACING_PLATFORM
#undef OPT_TRACING_SMPI