X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9dbeb2372ad9a123d0558132ebb6e003e10aa641..55b3e236db71d2245c71ff1ea3cbec120a0e0d8d:/src/mc/mc_mmalloc.h diff --git a/src/mc/mc_mmalloc.h b/src/mc/mc_mmalloc.h index c1f5ffed84..e69de29bb2 100644 --- a/src/mc/mc_mmalloc.h +++ b/src/mc/mc_mmalloc.h @@ -1,37 +0,0 @@ -/* Copyright (c) 2007-2014. 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. */ - -#ifndef SIMGRID_MC_MMALLOC_H -#define SIMGRID_MC_MMALLOC_H - -#include -#include - -/** file - * Support for seperate heaps. - * - * The possible memory modes for the modelchecker are standard and raw. - * Normally the system should operate in std, for switching to raw mode - * you must wrap the code between MC_SET_RAW_MODE and MC_UNSET_RAW_MODE. - */ - -SG_BEGIN_DECL() - -/* FIXME: Horrible hack! because the mmalloc library doesn't provide yet of */ -/* an API to query about the status of a heap, we simply call mmstats and */ -/* because I now how does structure looks like, then I redefine it here */ - -/* struct mstats { */ -/* size_t bytes_total; /\* Total size of the heap. *\/ */ -/* size_t chunks_used; /\* Chunks allocated by the user. *\/ */ -/* size_t bytes_used; /\* Byte total of user-allocated chunks. *\/ */ -/* size_t chunks_free; /\* Chunks in the free list. *\/ */ -/* size_t bytes_free; /\* Byte total of chunks in the free list. *\/ */ -/* }; */ - -SG_END_DECL() - -#endif