X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3a1ea70a418f393ca1677074e928c664022295bd..1f0cb94603e4eecb76d7e7cefa9a832f04dc48e6:/src/mc/mc_private.hpp diff --git a/src/mc/mc_private.hpp b/src/mc/mc_private.hpp index d8455b9b75..08d5ade3d7 100644 --- a/src/mc/mc_private.hpp +++ b/src/mc/mc_private.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-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. */ @@ -12,26 +12,12 @@ #include "src/mc/mc_forward.hpp" #include "src/xbt/memory_map.hpp" -namespace simgrid { -namespace mc { - -struct DerefAndCompareByActorsCountAndUsedHeap { - template bool operator()(X const& a, Y const& b) const - { - return std::make_pair(a->actors_count, a->heap_bytes_used) < std::make_pair(b->actors_count, b->heap_bytes_used); - } -}; -} -} - /********************************* MC Global **********************************/ XBT_PRIVATE void MC_init_dot_output(); XBT_PRIVATE extern FILE* dot_output; -XBT_PRIVATE void MC_show_deadlock(); - /********************************** Miscellaneous **********************************/ namespace simgrid { namespace mc {