X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7883b22e4ba18c71da8c10682ba760ce56489bbc..975babad32bf69ffb339dc1d449cd85e111ba733:/src/instr/instr_smpi.c diff --git a/src/instr/instr_smpi.c b/src/instr/instr_smpi.c index a5247af100..65086bd86c 100644 --- a/src/instr/instr_smpi.c +++ b/src/instr/instr_smpi.c @@ -39,6 +39,7 @@ static const char *smpi_colors[] ={ "scan", "1 0.58 0.23", "scatterv", "0.52 0 0.52", "scatter", "1 0.74 0.54", + "computing", "0 1 1", NULL, NULL, }; @@ -86,7 +87,7 @@ static char *TRACE_smpi_put_key(int src, int dst, char *key, int n) } //generate the key static unsigned long long counter = 0; - snprintf(key, n, "%d%d%llu", src, dst, counter++); + snprintf(key, n, "%d_%d_%llu", src, dst, counter++); //push it char *a = (char*)xbt_strdup(key);