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
cosmetics
[simgrid.git]
/
src
/
instr
/
instr_smpi.hpp
diff --git
a/src/instr/instr_smpi.hpp
b/src/instr/instr_smpi.hpp
index
8d9c3dd
..
146d6b7
100644
(file)
--- a/
src/instr/instr_smpi.hpp
+++ b/
src/instr/instr_smpi.hpp
@@
-39,15
+39,15
@@
XBT_PRIVATE const char* encode_datatype(MPI_Datatype datatype, int* known);
class smpi_trace_call_location_t {
public:
class smpi_trace_call_location_t {
public:
-
const char*
filename;
+
std::string
filename;
int linenumber;
int linenumber;
-
const char*
previous_filename;
+
std::string
previous_filename;
int previous_linenumber;
std::string get_composed_key()
{
int previous_linenumber;
std::string get_composed_key()
{
- return
std::string(previous_filename)
+ ':' + std::to_string(previous_linenumber) + ':' + filename + ':' +
+ return
previous_filename
+ ':' + std::to_string(previous_linenumber) + ':' + filename + ':' +
std::to_string(linenumber);
}
};
std::to_string(linenumber);
}
};