X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f734ec7475682eb90323e804cbcfddd7e4523992..c2184f1318115fcea2571f738e8359044bc78d42:/src/mc/mc_record.hpp diff --git a/src/mc/mc_record.hpp b/src/mc/mc_record.hpp index 698d824819..34ecd200d9 100644 --- a/src/mc/mc_record.hpp +++ b/src/mc/mc_record.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2014-2018. 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. */ @@ -8,7 +8,7 @@ * This file contains the MC replay/record functionnality. * A MC path may be recorded by using ``-cfg=model-check/record:1`'`. * The path is written in the log output and an be replayed with MC disabled - * (even with an non-LC build) with `--cfg=model-check/replay:$replayPath`. + * (even with an non-MC build) with `--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). @@ -18,6 +18,7 @@ #define SIMGRID_MC_RECORD_HPP #include "src/mc/Transition.hpp" +#include "src/mc/mc_config.hpp" #include "xbt/base.h" #include @@ -34,13 +35,10 @@ XBT_PRIVATE std::string traceToString(simgrid::mc::RecordTrace const& trace); XBT_PRIVATE void dumpRecordPath(); XBT_PRIVATE void replay(RecordTrace const& trace); -XBT_PRIVATE void replay(const char* trace); - +XBT_PRIVATE void replay(std::string trace); } } -SG_BEGIN_DECL() - /** Whether the MC record mode is enabled * * The behaviour is not changed. The only real difference is that @@ -50,6 +48,4 @@ SG_BEGIN_DECL() // **** Data conversion -SG_END_DECL() - #endif