Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Add private.hpp for C++ functionality
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Mon, 29 Feb 2016 11:40:30 +0000 (12:40 +0100)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 19 May 2016 14:37:23 +0000 (16:37 +0200)
src/smpi/private.hpp [new file with mode: 0644]
tools/cmake/DefinePackages.cmake

diff --git a/src/smpi/private.hpp b/src/smpi/private.hpp
new file mode 100644 (file)
index 0000000..caddc5d
--- /dev/null
@@ -0,0 +1,11 @@
+#ifndef SMPI_PRIVATE_HPP
+#define SMPI_PRIVATE_HPP
+
+#ifdef 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(void);
+XBT_PRIVATE int smpi_process_event_set(void);
+#endif
+
+#endif
index 52317a0..8046f85 100644 (file)
@@ -43,6 +43,7 @@ set(EXTRA_DIST
   src/smpi/colls/colls_private.h
   src/smpi/colls/smpi_mvapich2_selector_stampede.h
   src/smpi/private.h
+  src/smpi/private.hpp
   src/smpi/smpi_mpi_dt_private.h
   src/surf/cpu_cas01.hpp
   src/surf/cpu_interface.hpp