add get_<allocator>_stats()
commit863ba0586620ac32fc0dcb63a488c62b729160ad
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Tue, 11 Apr 2017 11:40:36 +0000 (11 13:40 +0200)
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Mon, 15 May 2017 16:31:11 +0000 (15 18:31 +0200)
tree0824f35e3ce886606b4fb6f5dc468e736c54d513
parente35efe330c6ae7d154197c29b127560d569016d0
add get_<allocator>_stats()

There exists a function to display the stats from each allocator
but:
1) what it displays is a bit long and fixed
2) it doesn't allow to make totals and stuff.

Change this by adding a function that only collect the stats
from each allocator.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
allocate.c
allocate.h