X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d20f024dba9ff1e9c8822237caaf963b9e913889..6d004c352f7b26fba38486001f874e65466b5bee:/src/mc/mc_private.hpp diff --git a/src/mc/mc_private.hpp b/src/mc/mc_private.hpp index f51b0e9782..a23fb138e7 100644 --- a/src/mc/mc_private.hpp +++ b/src/mc/mc_private.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2019. 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. */ @@ -24,8 +24,6 @@ struct DerefAndCompareByActorsCountAndUsedHeap { } } -extern "C" { - /********************************* MC Global **********************************/ XBT_PRIVATE void MC_init_dot_output(); @@ -34,14 +32,7 @@ XBT_PRIVATE extern FILE* dot_output; XBT_PRIVATE void MC_show_deadlock(void); -/********************************** Snapshot comparison **********************************/ - -//#define MC_DEBUG 1 -#define MC_VERBOSE 1 - /********************************** Miscellaneous **********************************/ -} - namespace simgrid { namespace mc { @@ -49,7 +40,7 @@ XBT_PRIVATE void find_object_address(std::vector const& map simgrid::mc::ObjectInformation* result); XBT_PRIVATE -int snapshot_compare(int num1, simgrid::mc::Snapshot* s1, int num2, simgrid::mc::Snapshot* s2); +bool snapshot_equal(const Snapshot* s1, const Snapshot* s2); // Move is somewhere else (in the LivenessChecker class, in the Session class?): extern XBT_PRIVATE xbt_automaton_t property_automaton;