X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fe9f13ea487593ec11c6af50d8150a6743c84114..018dbe8afafe687069d74c58fea3a2f9a15a8085:/include/simgrid/smpi/replay.hpp diff --git a/include/simgrid/smpi/replay.hpp b/include/simgrid/smpi/replay.hpp index 169d71c95d..c0d6206869 100644 --- a/include/simgrid/smpi/replay.hpp +++ b/include/simgrid/smpi/replay.hpp @@ -74,12 +74,19 @@ 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; }; +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; @@ -224,6 +231,12 @@ public: void kernel(simgrid::xbt::ReplayAction& action) override; }; +class LocationAction : public ReplayAction { +public: + explicit LocationAction() : ReplayAction("location") {} + void kernel(simgrid::xbt::ReplayAction& action) override; +}; + class TestAction : public ReplayAction { private: RequestStorage& req_storage;