#include "src/mc/transition/Transition.hpp"
#include "src/kernel/actor/Simcall.hpp"
-#include "xbt/asserts.h"
-#include "xbt/string.hpp"
-#include <simgrid/config.h>
-
-#if SIMGRID_HAVE_MC
#include "src/mc/explo/Exploration.hpp"
#include "src/mc/transition/TransitionActorJoin.hpp"
#include "src/mc/transition/TransitionAny.hpp"
#include "src/mc/transition/TransitionObjectAccess.hpp"
#include "src/mc/transition/TransitionRandom.hpp"
#include "src/mc/transition/TransitionSynchro.hpp"
-#endif
+#include "xbt/asserts.h"
+#include "xbt/string.hpp"
#include <sstream>
void Transition::replay(RemoteApp& app) const
{
replayed_transitions_++;
-#if SIMGRID_HAVE_MC
app.handle_simcall(aid_, times_considered_, false);
app.wait_for_requests();
-#endif
}
Transition* deserialize_transition(aid_t issuer, int times_considered, std::stringstream& stream)
{
-#if SIMGRID_HAVE_MC
short type;
xbt_assert(stream >> type);
xbt_die("Invalid transition type %d received. Did you implement a new observer in the app without implementing the "
"corresponding transition in the checker?",
type);
-#else
- xbt_die("Deserializing transitions is only interesting in MC mode.");
-#endif
}
} // namespace simgrid::mc