X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a6b0a991a67e6f2f67c03fed43529e078da7115..0ffe46c97f312f9af2b6eb0c4068a84d4523fb10:/src/smpi/instr_smpi.cpp diff --git a/src/smpi/instr_smpi.cpp b/src/smpi/instr_smpi.cpp index 9c8448d323..4f0ae285f7 100644 --- a/src/smpi/instr_smpi.cpp +++ b/src/smpi/instr_smpi.cpp @@ -82,8 +82,7 @@ static const char *instr_find_color (const char *state) return ret; } - -static char *smpi_container(int rank, char *container, int n) +XBT_PRIVATE char *smpi_container(int rank, char *container, int n) { snprintf(container, n, "rank-%d", rank); return container; @@ -91,7 +90,6 @@ static char *smpi_container(int rank, char *container, int n) static char *TRACE_smpi_get_key(int src, int dst, char *key, int n); - static char *TRACE_smpi_put_key(int src, int dst, char *key, int n) { //get the dynar for src#dst @@ -99,7 +97,6 @@ static char *TRACE_smpi_put_key(int src, int dst, char *key, int n) snprintf(aux, INSTR_DEFAULT_STR_SIZE, "%d#%d", src, dst); xbt_dynar_t d = static_cast(xbt_dict_get_or_null(keys, aux)); - if(!xbt_dynar_is_empty(d)){ //receive was already pushed, perform a get instead TRACE_smpi_get_key(src , dst, key ,n); @@ -236,7 +233,6 @@ void TRACE_smpi_collective_in(int rank, int root, const char *operation, instr_e new_pajePushStateWithExtra (SIMIX_get_clock(), container, type, value, (void*)extra); } - void TRACE_smpi_collective_out(int rank, int root, const char *operation) { if (!TRACE_smpi_is_enabled()) return; @@ -333,7 +329,6 @@ void TRACE_smpi_sleeping_out(int rank) new_pajePopState (SIMIX_get_clock(), container, type); } - void TRACE_smpi_testing_in(int rank, instr_extra_data extra) { //do not forget to set the color first, otherwise this will explode