From 1e603f892158657a582a2e49cc99c8c8034899f1 Mon Sep 17 00:00:00 2001 From: dzaima Date: Sun, 11 May 2025 18:03:25 +0300 Subject: [PATCH] fix ALLOC_STAT --- src/core/stuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/stuff.c b/src/core/stuff.c index d8f436a5..bc20e043 100644 --- a/src/core/stuff.c +++ b/src/core/stuff.c @@ -503,7 +503,7 @@ NOINLINE void print_allocStats() { #if ALLOC_STAT printf("total ever allocated: "N64u"\n", talloc); printf("allocated heap size: "N64u"\n", mm_heapAlloc); - printf("used heap size: "N64u"\n", mm_heapUsed()); + printf("used heap size: "N64u"\n", tot_heapUsed()); ctr_a[t_harr]+= ctr_a[t_harrPartial]; ctr_a[t_harrPartial] = 0; printf("ctrA←"); for (i64 i = 0; i < t_COUNT; i++) { if(i)printf("‿"); printf(N64u, ctr_a[i]); } printf("\n");