X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5787a5c839c1f49fec942290449d18b72b036d98..5f1dc33c9f76ee99973ba93f034f031451398ebe:/src/mc/mc_safety.h diff --git a/src/mc/mc_safety.h b/src/mc/mc_safety.h index 4ee245f647..2c31b5d76d 100644 --- a/src/mc/mc_safety.h +++ b/src/mc/mc_safety.h @@ -1,5 +1,4 @@ -/* Copyright (c) 2007-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2007-2017. 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. */ @@ -7,18 +6,7 @@ #ifndef SIMGRID_MC_SAFETY_H #define SIMGRID_MC_SAFETY_H -#include - -#include -#include - -#include - -#include -#include - -#include "src/mc/mc_forward.hpp" -#include "src/mc/mc_state.h" +#include "xbt/base.h" namespace simgrid { namespace mc { @@ -31,21 +19,6 @@ enum class ReductionMode { extern XBT_PRIVATE simgrid::mc::ReductionMode reduction_mode; -struct XBT_PRIVATE VisitedState { - simgrid::mc::Snapshot* system_state = nullptr; - size_t heap_bytes_used = 0; - int nb_processes = 0; - int num = 0; - int other_num = 0; // dot_output for - - VisitedState(); - ~VisitedState(); -}; - -extern XBT_PRIVATE std::vector> visited_states; -XBT_PRIVATE std::unique_ptr is_visited_state(mc_state_t graph_state, bool compare_snpashots); -XBT_PRIVATE int snapshot_compare(simgrid::mc::VisitedState* state1, simgrid::mc::VisitedState* state2); - } }