mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-05 06:59:32 +03:00
update formatting of statistics
This commit is contained in:
parent
b759bcf5c7
commit
a8b282091f
1 changed files with 2 additions and 5 deletions
|
@ -301,11 +301,8 @@ static void _mi_stats_print(mi_stats_t* stats, mi_output_fun* out0, void* arg0)
|
||||||
mi_stat_print(&total, "total", 1, out, arg);
|
mi_stat_print(&total, "total", 1, out, arg);
|
||||||
#endif
|
#endif
|
||||||
#if MI_STAT>1
|
#if MI_STAT>1
|
||||||
mi_stat_print(&stats->malloc, "malloc total", 1, out, arg);
|
mi_stat_print(&stats->malloc, "malloc req", 1, out, arg);
|
||||||
|
_mi_fprintf(out, arg, "\n");
|
||||||
_mi_fprintf(out, arg, "malloc requested: ");
|
|
||||||
mi_print_amount(stats->malloc.allocated, 1, out, arg);
|
|
||||||
_mi_fprintf(out, arg, "\n\n");
|
|
||||||
#endif
|
#endif
|
||||||
mi_stat_print(&stats->reserved, "reserved", 1, out, arg);
|
mi_stat_print(&stats->reserved, "reserved", 1, out, arg);
|
||||||
mi_stat_print(&stats->committed, "committed", 1, out, arg);
|
mi_stat_print(&stats->committed, "committed", 1, out, arg);
|
||||||
|
|
Loading…
Add table
Reference in a new issue