]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/private.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
more cosmetic cleanups
[simgrid.git] / src / smpi / private.hpp
index 3e60d85fbe921f26055efc2f8ae881da79b721b6..a5c1aed3b94d109ac8d1262336d0efc4e0e2fdba 100644 (file)
@@ -6,8 +6,9 @@
 #ifndef SMPI_PRIVATE_HPP
 #define SMPI_PRIVATE_HPP
 
-#include <unordered_map>
 #include "src/instr/instr_smpi.h"
+#include <unordered_map>
+#include <vector>
 
 /**
  * Get the address of the beginning of the memory page where addr is located.
  */
 #define TOPAGE(addr) (void *)(((unsigned long)(addr) / xbt_pagesize) * xbt_pagesize)
 
-#ifdef HAVE_PAPI
+#if HAVE_PAPI
 typedef 
     std::vector<std::pair</* counter name */std::string, /* counter value */long long>> 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<std::string, double> location2speedup;