Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
replay : add actions scan and exscan
[simgrid.git] / include / simgrid / smpi / smpi_replay.hpp
index ec856a6..c15f273 100644 (file)
@@ -161,6 +161,11 @@ public:
   void parse(xbt::ReplayAction& action, const std::string& name) override;
 };
 
+class ScanArgParser : public CollCommParser {
+public:
+  void parse(xbt::ReplayAction& action, const std::string& name) override;
+};
+
 class AllToAllVArgParser : public CollCommParser {
 public:
   int recv_size_sum;
@@ -340,6 +345,12 @@ public:
   void kernel(xbt::ReplayAction& action) override;
 };
 
+class ScanAction : public ReplayAction<ScanArgParser> {
+public:
+  using ReplayAction::ReplayAction;
+  void kernel(xbt::ReplayAction& action) override;
+};
+
 class AllToAllVAction : public ReplayAction<AllToAllVArgParser> {
 public:
   explicit AllToAllVAction() : ReplayAction("alltoallv") {}