X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c19d014de9bc7de594e8c220a014e2b8c2474bb5..c5a48995c0e24c9ae38c3d14203388523c565a5b:/src/smpi/private.hpp diff --git a/src/smpi/private.hpp b/src/smpi/private.hpp index b05de0c4a0..a5c1aed3b9 100644 --- a/src/smpi/private.hpp +++ b/src/smpi/private.hpp @@ -6,8 +6,9 @@ #ifndef SMPI_PRIVATE_HPP #define SMPI_PRIVATE_HPP -#include #include "src/instr/instr_smpi.h" +#include +#include /** * Get the address of the beginning of the memory page where addr is located. @@ -17,18 +18,18 @@ */ #define TOPAGE(addr) (void *)(((unsigned long)(addr) / xbt_pagesize) * xbt_pagesize) -#ifdef HAVE_PAPI +#if HAVE_PAPI typedef std::vector> papi_counter_t; -XBT_PRIVATE papi_counter_t& smpi_process_counter_data(void); -XBT_PRIVATE int smpi_process_event_set(void); +XBT_PRIVATE papi_counter_t& smpi_process_papi_counters(); +XBT_PRIVATE int smpi_process_papi_event_set(); #endif extern std::unordered_map location2speedup; /** @brief Returns the last call location (filename, linenumber). Process-specific. */ extern "C" { -XBT_PUBLIC(smpi_trace_call_location_t*) smpi_process_get_call_location(void); +XBT_PUBLIC(smpi_trace_call_location_t*) smpi_process_get_call_location(); XBT_PUBLIC(smpi_trace_call_location_t*) smpi_trace_get_call_location(); } #endif