ref: fa99106e2b966e20e12e9dccc987c0dbd77a3e96
parent: 2d1c7e25b914034557e9cb9dc6485ea643362f94
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Wed Feb 5 12:48:13 EST 2025
vm-stats: add gc handles count
--- a/src/flisp.c
+++ b/src/flisp.c
@@ -1258,9 +1258,10 @@
ios_printf(ios_stderr, "heap free %10"PRIuPTR"\n", (uintptr_t)(FL(lim)-FL(curheap)));
ios_printf(ios_stderr, "heap used %10"PRIuPTR"\n", (uintptr_t)(FL(curheap)-FL(fromspace)));
ios_printf(ios_stderr, "stack %10"PRIu64"\n", (uint64_t)FL(nstack)*sizeof(value_t));
- ios_printf(ios_stderr, "gc calls %10"PRIu64"\n", (uint64_t)FL(gccalls));
ios_printf(ios_stderr, "finalizers %10"PRIu32"\n", (uint32_t)FL(nfinalizers));
ios_printf(ios_stderr, "max finalizers %10"PRIu32"\n", (uint32_t)FL(maxfinalizers));
+ ios_printf(ios_stderr, "gc handles %10"PRIu32"\n", (uint32_t)FL(ngchandles));
+ ios_printf(ios_stderr, "gc calls %10"PRIu64"\n", (uint64_t)FL(gccalls));
ios_printf(ios_stderr, "opcodes %10d\n", N_OPCODES);
return FL_void;
}