Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Set the textual representation of a transition before executing it
[simgrid.git] / src / mc / api.hpp
index 191a213bfd02a2188893b09b5c5091f831d29d59..22523490a4d9f8991ab63d8f94ff4e460552cfae 100644 (file)
@@ -25,7 +25,7 @@ struct s_transition_detail {
   RemotePtr<kernel::activity::ActivityImpl> comm_remote_addr {}; // the communication this transition concerns (to be used only for isend, ireceive, wait and test)
 };
 
-typedef std::unique_ptr<s_transition_detail> transition_detail_t;
+using transition_detail_t = std::unique_ptr<s_transition_detail>;
 
 /*
 ** This class aimes to implement FACADE APIs for simgrid. The FACADE layer sits between the CheckerSide
@@ -136,7 +136,7 @@ public:
   // SESSION APIs
   void session_initialize() const;
   void s_close() const;
-  void execute(Transition const& transition) const;
+  void execute(Transition& transition, smx_simcall_t simcall) const;
 
 // AUTOMATION APIs
 #if SIMGRID_HAVE_MC