X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b9b07d4d2e87284cb8d23d3a5c6b0525da624983..0ffe46c97f312f9af2b6eb0c4068a84d4523fb10:/src/smpi/private.hpp diff --git a/src/smpi/private.hpp b/src/smpi/private.hpp index caddc5d0fe..cc87c97a1c 100644 --- a/src/smpi/private.hpp +++ b/src/smpi/private.hpp @@ -1,6 +1,8 @@ #ifndef SMPI_PRIVATE_HPP #define SMPI_PRIVATE_HPP +#include "src/instr/instr_smpi.h" + #ifdef HAVE_PAPI typedef std::vector> papi_counter_t; @@ -8,4 +10,11 @@ XBT_PRIVATE papi_counter_t& smpi_process_counter_data(void); XBT_PRIVATE int smpi_process_event_set(void); #endif +extern std::map location2speedup; #endif + +/** + * \brief Returns the last call location (filename, linenumber). Process-specific. + */ +XBT_PUBLIC(smpi_trace_call_location_t*) smpi_process_get_call_location(void); +XBT_PUBLIC(smpi_trace_call_location_t*) smpi_trace_get_call_location();