A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SMPI/INSTR] Header cleanup.
[simgrid.git]
/
src
/
smpi
/
private.hpp
diff --git
a/src/smpi/private.hpp
b/src/smpi/private.hpp
index
f6a71ab
..
cc87c97
100644
(file)
--- a/
src/smpi/private.hpp
+++ b/
src/smpi/private.hpp
@@
-1,6
+1,8
@@
#ifndef SMPI_PRIVATE_HPP
#define SMPI_PRIVATE_HPP
#ifndef SMPI_PRIVATE_HPP
#define SMPI_PRIVATE_HPP
+#include "src/instr/instr_smpi.h"
+
#ifdef HAVE_PAPI
typedef
std::vector<std::pair</* counter name */std::string, /* counter value */long long>> papi_counter_t;
#ifdef HAVE_PAPI
typedef
std::vector<std::pair</* counter name */std::string, /* counter value */long long>> papi_counter_t;
@@
-10,3
+12,9
@@
XBT_PRIVATE int smpi_process_event_set(void);
extern std::map<std::string, double> location2speedup;
#endif
extern std::map<std::string, double> location2speedup;
#endif
+
+/**
+ * \brief Returns the last call location (filename, linenumber). Process-specific.
+ */
+XBT_PUBLIC(smpi_trace_call_location_t*) smpi_process_get_call_location(void);
+XBT_PUBLIC(smpi_trace_call_location_t*) smpi_trace_get_call_location();