fix ALLOC_STAT
This commit is contained in:
parent
2020135a11
commit
1e603f8921
@ -503,7 +503,7 @@ NOINLINE void print_allocStats() {
|
|||||||
#if ALLOC_STAT
|
#if ALLOC_STAT
|
||||||
printf("total ever allocated: "N64u"\n", talloc);
|
printf("total ever allocated: "N64u"\n", talloc);
|
||||||
printf("allocated heap size: "N64u"\n", mm_heapAlloc);
|
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_harr]+= ctr_a[t_harrPartial];
|
||||||
ctr_a[t_harrPartial] = 0;
|
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");
|
printf("ctrA←"); for (i64 i = 0; i < t_COUNT; i++) { if(i)printf("‿"); printf(N64u, ctr_a[i]); } printf("\n");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user