X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fe304706848f0a64477d4687b3ea97d5b9a0c35c..39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f:/src/mc/mc_record.hpp?ds=sidebyside diff --git a/src/mc/mc_record.hpp b/src/mc/mc_record.hpp index 85bf484cb0..72b9c8dc52 100644 --- a/src/mc/mc_record.hpp +++ b/src/mc/mc_record.hpp @@ -1,13 +1,13 @@ -/* Copyright (c) 2014-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2014-2021. 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. */ /** \file mc_record.hpp * - * This file contains the MC replay/record functionnality. + * This file contains the MC replay/record functionality. * The recorded path is written in the log output and can be replayed with MC disabled - * (even with an non-MC build) using `--cfg=model-check/replay:$replayPath`. + * (even with a non-MC build) using `--cfg=model-check/replay:$replayPath`. * * The same version of Simgrid should be used and the same arguments should be * passed to the application (without the MC specific arguments). @@ -25,9 +25,9 @@ namespace simgrid { namespace mc { -typedef std::vector RecordTrace; +using RecordTrace = std::vector; -/** Convert a string representation of the path into a array of `simgrid::mc::Transition` +/** Convert a string representation of the path into an array of `simgrid::mc::Transition` */ XBT_PRIVATE RecordTrace parseRecordTrace(const char* data); XBT_PRIVATE std::string traceToString(simgrid::mc::RecordTrace const& trace);