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
Add call_location to ti-trace and replay as well.
[simgrid.git]
/
include
/
simgrid
/
smpi
/
replay.hpp
diff --git
a/include/simgrid/smpi/replay.hpp
b/include/simgrid/smpi/replay.hpp
index
169d71c
..
c0d6206
100644
(file)
--- a/
include/simgrid/smpi/replay.hpp
+++ b/
include/simgrid/smpi/replay.hpp
@@
-74,12
+74,19
@@
public:
class ComputeParser : public ActionArgParser {
public:
class ComputeParser : public ActionArgParser {
public:
- /* communication partner; if we send, this is the receiver and vice versa */
double flops;
void parse(simgrid::xbt::ReplayAction& action, const std::string& name) override;
};
double flops;
void parse(simgrid::xbt::ReplayAction& action, const std::string& name) override;
};
+class LocationParser : public ActionArgParser {
+public:
+ std::string filename;
+ int line;
+
+ void parse(simgrid::xbt::ReplayAction& action, const std::string& name) override;
+};
+
class CollCommParser : public ActionArgParser {
public:
double size;
class CollCommParser : public ActionArgParser {
public:
double size;
@@
-224,6
+231,12
@@
public:
void kernel(simgrid::xbt::ReplayAction& action) override;
};
void kernel(simgrid::xbt::ReplayAction& action) override;
};
+class LocationAction : public ReplayAction<LocationParser> {
+public:
+ explicit LocationAction() : ReplayAction("location") {}
+ void kernel(simgrid::xbt::ReplayAction& action) override;
+};
+
class TestAction : public ReplayAction<WaitTestParser> {
private:
RequestStorage& req_storage;
class TestAction : public ReplayAction<WaitTestParser> {
private:
RequestStorage& req_storage;