1 /* Copyright (c) 2008-2015. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
13 #include "src/mc/mc_private.h"
14 #include "src/xbt/mmalloc/mmprivate.h"
16 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_memory, mc,
17 "Logging specific to MC (memory)");
21 /* Initialize the model-checker memory subsystem */
22 /* It creates the two heap regions: std_heap and mc_heap */
25 if (!malloc_use_mmalloc())
26 xbt_die("Model-checking support is not enabled: run with simgrid-mc.");
29 /* Finalize the memory subsystem */
30 void MC_memory_exit(void)