Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Function smpi_process_papi_counters() was renamed (untested).
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 12 Feb 2018 21:55:23 +0000 (22:55 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 13 Feb 2018 10:18:01 +0000 (11:18 +0100)
src/smpi/include/private.hpp
src/smpi/internals/smpi_process.cpp

index ae78bcb..09594c2 100644 (file)
@@ -426,7 +426,6 @@ XBT_PRIVATE smpi_privatization_region_t smpi_init_global_memory_segment_process(
 
 #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_papi_counters();
 #endif
 
 extern std::unordered_map<std::string, double> location2speedup;
index b5f403e..967936f 100644 (file)
@@ -187,7 +187,7 @@ int Process::papi_event_set()
   return papi_event_set_;
 }
 
-papi_counter_t& smpi_process_papi_counters()
+papi_counter_t& Process::papi_counters()
 {
   return papi_counter_data_;
 }