-/* Copyright (c) 2015-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2015-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
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 */
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:
virtual std::string dot_string() const;
/* Moves the application toward a path that was already explored, but don't change the current transition */
- void replay() const;
+ void replay(RemoteApp& app) const;
virtual bool depends(const Transition* other) const { return true; }