Print heap memory usage statistics before exit (host version).

This commit is contained in:
Ruben Ayrapetyan
2014-07-25 19:09:10 +04:00
parent d90dccde9a
commit 5e4078095a
4 changed files with 63 additions and 51 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ extern void mem_heap_init(uint8_t *heap_start, size_t heap_size);
extern uint8_t* mem_heap_alloc_block(size_t size_in_bytes, mem_heap_alloc_term_t alloc_term);
extern void mem_heap_free_block(uint8_t *ptr);
extern size_t mem_heap_recommend_allocation_size(size_t minimum_allocation_size);
extern void mem_heap_print(bool dump_block_data);
extern void mem_heap_print(bool dump_block_headers, bool dump_block_data, bool dump_stats);
#ifdef MEM_STATS
/**