X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cdf6a962eb4e88efbed3df9c41343adabcf09e6c..f4c998d4d5488117b6cf9989e1061238016965fc:/src/mc/Transition.hpp diff --git a/src/mc/Transition.hpp b/src/mc/Transition.hpp index a0a2813b08..17754e6cbe 100644 --- a/src/mc/Transition.hpp +++ b/src/mc/Transition.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2019. The SimGrid Team. +/* Copyright (c) 2015-2021. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -7,6 +7,9 @@ #ifndef SIMGRID_MC_TRANSITION_HPP #define SIMGRID_MC_TRANSITION_HPP +#include "simgrid/forward.h" // aid_t +#include + namespace simgrid { namespace mc { @@ -20,7 +23,7 @@ namespace mc { */ class Transition { public: - int pid_ = 0; + aid_t aid_ = 0; /* Which transition was executed for this simcall * @@ -30,7 +33,10 @@ public: * * * random can produce different values. */ - int argument_ = 0; + int times_considered_ = 0; + + /* Textual representation of the transition, to display backtraces */ + std::string textual; }; } // namespace mc