From 16098557e7e5089d731a81792914ca81fff7fb4a Mon Sep 17 00:00:00 2001 From: Marion Guthmuller Date: Sun, 11 Nov 2012 19:12:26 +0100 Subject: [PATCH] model-checker : unset raw heap after display of statistics if complete exploration without acceptance cycle found --- src/mc/mc_global.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mc/mc_global.c b/src/mc/mc_global.c index a42b115154..02600ef677 100644 --- a/src/mc/mc_global.c +++ b/src/mc/mc_global.c @@ -612,6 +612,9 @@ void MC_print_statistics_pairs(mc_stats_pair_t stats) //XBT_INFO("Executed transitions = %lu", stats->executed_transitions); XBT_INFO("Expanded / Visited = %lf", (double) stats->visited_pairs / stats->expanded_pairs); + + if(mmalloc_get_current_heap() == raw_heap) + MC_UNSET_RAW_MEM; } void MC_assert(int prop) -- 2.20.1