Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add function call and full location in checker-side transitions
[simgrid.git] / src / mc / transition / Transition.hpp
index 17fb7e6..7779f6e 100644 (file)
@@ -28,7 +28,6 @@ class Transition {
   static unsigned long replayed_transitions_;
 
   friend State; // FIXME remove this once we have a proper class to handle the statistics
-
 public:
   /* Ordering is important here. depends() implementations only consider subsequent types in this ordering */
   XBT_DECLARE_ENUM_CLASS(Type, RANDOM, ACTOR_JOIN, /* First because indep with anybody including themselves */
@@ -43,6 +42,10 @@ public:
 
   aid_t aid_ = 0;
 
+  /** The user function call that caused this transition to exist.
+   *  Format is filename::function::line */
+  std::string user_fun_call_ = "";
+
   /* Which transition was executed for this simcall
    *
    * Some simcalls can lead to different transitions: