X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/58205532bf7d35bd624c204dd814916b8e8b2fea..ef753f4a6180065885bb97ce20ea62f4cc6bcc1c:/src/mc/mc_replay.hpp diff --git a/src/mc/mc_replay.hpp b/src/mc/mc_replay.hpp index 4d093624e1..7c0ae437e1 100644 --- a/src/mc/mc_replay.hpp +++ b/src/mc/mc_replay.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2008-2023. 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. */ @@ -13,7 +13,7 @@ * This is using the format generated by traceToString(). * Use a function to avoid static initialization order fiasco. */ -inline std::string& MC_record_path() +inline auto& MC_record_path() { static std::string value; return value; @@ -25,4 +25,7 @@ static inline int MC_record_replay_is_active() return not MC_record_path().empty(); } +/** Whether we should display extra information during this MC replay */ +extern bool simgrid_mc_replay_show_backtraces; + #endif