ref: 01aa0570e462fd867317ef513ec63f8ea5cb6570
parent: a7ffbbc1ce2e2effa32fa18d47b215bf8fd058d4
author: Lennart Augustsson <lennart.augustsson@epicgames.com>
date: Thu Aug 31 07:10:20 EDT 2023
Show heap sizer in bytes.
--- a/src/runtime/eval.c
+++ b/src/runtime/eval.c
@@ -1588,7 +1588,7 @@
setlocale(LC_NUMERIC, ""); /* Make %' work on platforms that support it */
printf("%"PCOMMA"15"PRIu64" combinator file size\n", (uint64_t)file_size); printf("%"PCOMMA"15"PRIu64" cells at start\n", start_size);- printf("%"PCOMMA"15"PRIu64" heap size\n", heap_size);+ printf("%"PCOMMA"15"PRIu64" cells heap size (%"PCOMMA""PRIu64" bytes)\n", heap_size, heap_size * NODE_SIZE); printf("%"PCOMMA"15"PRIu64" cells allocated\n", num_alloc); printf("%"PCOMMA"15"PRIu64" GCs\n", num_gc); printf("%"PCOMMA"15"PRIu64" max cells used\n", max_num_marked);--
⑨