Refactor the printing of memory usage statistics
Make the internal heap and pools memory usage statistics APIs more similar: how the print functions are named, where they are implemented, and which parts of them are guarded by `MEM_STATS`. Also, adapt unit tests to the changes. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -39,7 +39,6 @@ extern void mem_heap_free_block_size_stored (void *);
|
||||
extern uintptr_t mem_heap_compress_pointer (const void *);
|
||||
extern void *mem_heap_decompress_pointer (uintptr_t);
|
||||
extern bool mem_is_heap_pointer (const void *);
|
||||
extern void mem_heap_print ();
|
||||
|
||||
#ifdef MEM_STATS
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user