X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d18e17592e7aabd2cb96fd154858e0a3987d2800..a0816cd508b0beceb6361a66fcf43512e18d3753:/src/smpi/private.hpp diff --git a/src/smpi/private.hpp b/src/smpi/private.hpp index 3e60d85fbe..42792da047 100644 --- a/src/smpi/private.hpp +++ b/src/smpi/private.hpp @@ -6,8 +6,10 @@ #ifndef SMPI_PRIVATE_HPP #define SMPI_PRIVATE_HPP -#include #include "src/instr/instr_smpi.h" +#include +#include +#include "src/internal_config.h" /** * Get the address of the beginning of the memory page where addr is located. @@ -17,11 +19,11 @@ */ #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(); -XBT_PRIVATE int smpi_process_event_set(); +XBT_PRIVATE papi_counter_t& smpi_process_papi_counters(); +XBT_PRIVATE int smpi_process_papi_event_set(); #endif extern std::unordered_map location2speedup;