From: schnorr Date: Tue, 3 Apr 2012 08:51:19 +0000 (+0200) Subject: [trace] avoid Paje inconsistencies by forcing the generation of a time-ordered trace... X-Git-Tag: v3_7~124^2~14 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bf6a75d25c9f251b1c9b154272272cf990076431?hp=77fecf4a12de7c801bcc93590a2901cafe74fc85;ds=sidebyside [trace] avoid Paje inconsistencies by forcing the generation of a time-ordered trace file as output details: - this might come with a performance penalty. If so, set tracing/buffer to zero, and sort the trace afterward. --- diff --git a/src/instr/instr_config.c b/src/instr/instr_config.c index ce36bb4a28..c9de3a36ad 100644 --- a/src/instr/instr_config.c +++ b/src/instr/instr_config.c @@ -264,7 +264,7 @@ void TRACE_global_init(int *argc, char **argv) NULL, NULL); /* tracing buffer */ - int default_buffer = 0; + int default_buffer = 1; xbt_cfg_register(&_surf_cfg_set, OPT_TRACING_BUFFER, "Buffer trace events to put them in temporal order.", xbt_cfgelm_int, &default_buffer, 0, 1,