From: degomme Date: Thu, 20 Oct 2016 12:32:02 +0000 (+0200) Subject: add some debug messages for smpi tracing X-Git-Tag: v3_14~294^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/50048ea494302c3030b44964627044c74a85a66c?hp=8566507c07e0ad81c282021b1269e61c5ff13729 add some debug messages for smpi tracing --- diff --git a/src/smpi/instr_smpi.cpp b/src/smpi/instr_smpi.cpp index 4c6054230f..ee21f420d6 100644 --- a/src/smpi/instr_smpi.cpp +++ b/src/smpi/instr_smpi.cpp @@ -420,7 +420,7 @@ void TRACE_smpi_send(int rank, int src, int dst, int size) smpi_container(src, str, INSTR_DEFAULT_STR_SIZE); container_t container = PJ_container_get (str); type_t type = PJ_type_get ("MPI_LINK", PJ_type_get_root()); - + XBT_DEBUG("Send tracing from %d to %d, with key %s", src, dst, key); new_pajeStartLinkWithSize (SIMIX_get_clock(), PJ_container_get_root(), type, container, "PTP", key, size); } @@ -436,6 +436,6 @@ void TRACE_smpi_recv(int rank, int src, int dst) smpi_container(dst, str, INSTR_DEFAULT_STR_SIZE); container_t container = PJ_container_get (str); type_t type = PJ_type_get ("MPI_LINK", PJ_type_get_root()); - + XBT_DEBUG("Recv tracing from %d to %d, with key %s", src, dst, key); new_pajeEndLink (SIMIX_get_clock(), PJ_container_get_root(), type, container, "PTP", key); }