X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3086f8693ca7977af2f666bca46f733046b22996..9acedb4ebce15cd3399fcad4effb3fb79a0ee5ef:/src/mc/Transition.hpp diff --git a/src/mc/Transition.hpp b/src/mc/Transition.hpp index c0a6d0af6e..d956ac110f 100644 --- a/src/mc/Transition.hpp +++ b/src/mc/Transition.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2016. The SimGrid Team. +/* Copyright (c) 2015-2019. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -13,12 +13,13 @@ namespace mc { /** An element in the recorded path * * At each decision point, we need to record which process transition - * is trigerred and potentially which value is associated with this - * transition. The value is used to find which communication is triggerred + * is triggered and potentially which value is associated with this + * transition. The value is used to find which communication is triggered * in things like waitany and for associating a given value of MC_random() * calls. */ -struct Transition { +class Transition { +public: int pid = 0; /* Which transition was executed for this simcall