X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/196bcabf3c533a02f12b43f040f8fb5cb1e43235..8eb44d6e2b6c63e7a18fe315f00da4dca0957324:/include/xbt/mmalloc.h diff --git a/include/xbt/mmalloc.h b/include/xbt/mmalloc.h index b53046853f..f7a279e6a9 100644 --- a/include/xbt/mmalloc.h +++ b/include/xbt/mmalloc.h @@ -52,19 +52,15 @@ extern void *xbt_mheap_destroy(xbt_mheap_t md); /* return the heap used when NULL is passed as first argument to any mm* function */ extern xbt_mheap_t mmalloc_get_default_md(void); -extern void mmalloc_display_info_heap(xbt_mheap_t h); - /* To change the heap used when using the legacy version malloc/free/realloc and such */ void mmalloc_set_current_heap(xbt_mheap_t new_heap); xbt_mheap_t mmalloc_get_current_heap(void); -int mmalloc_compare_heap(xbt_mheap_t mdp1, xbt_mheap_t mdp2, void* s_heap, void* r_heap); - -void mmalloc_backtrace_display(xbt_mheap_t mdp, void *addr); - -void mmalloc_backtrace_block_display(xbt_mheap_t mdp, size_t block); +int mmalloc_compare_heap(xbt_mheap_t heap1, xbt_mheap_t heap2); +int mmalloc_linear_compare_heap(xbt_mheap_t heap1, xbt_mheap_t heap2); -void mmalloc_backtrace_fragment_display(xbt_mheap_t mdp, size_t block, size_t frag); +void mmalloc_backtrace_block_display(void* heapinfo, int block); +void mmalloc_backtrace_fragment_display(void* heapinfo, int block, int frag);