From a8b282091f8b4a6f78c8948fe96b6ea1d6a4d6dc Mon Sep 17 00:00:00 2001 From: Daan Leijen Date: Fri, 29 Jan 2021 13:03:06 -0800 Subject: [PATCH] update formatting of statistics --- src/stats.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/stats.c b/src/stats.c index ad698920..59c1896d 100644 --- a/src/stats.c +++ b/src/stats.c @@ -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); #endif #if MI_STAT>1 - mi_stat_print(&stats->malloc, "malloc total", 1, out, arg); - - _mi_fprintf(out, arg, "malloc requested: "); - mi_print_amount(stats->malloc.allocated, 1, out, arg); - _mi_fprintf(out, arg, "\n\n"); + mi_stat_print(&stats->malloc, "malloc req", 1, out, arg); + _mi_fprintf(out, arg, "\n"); #endif mi_stat_print(&stats->reserved, "reserved", 1, out, arg); mi_stat_print(&stats->committed, "committed", 1, out, arg);