summaryrefslogtreecommitdiff
path: root/src/scheme/ao_scheme_mem.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-12-10 16:50:06 -0800
committerKeith Packard <keithp@keithp.com>2017-12-11 12:20:25 -0800
commit7517da1646fc30faaa9ee1c969cfa35ae1a17423 (patch)
treec08a6bd2ca3cbdde2efdf891e949706faaf2aaaf /src/scheme/ao_scheme_mem.c
parent7e14e243565e814ddd524c8d09454719dc89c6d8 (diff)
altos/scheme: Use 64-bit ints to track memory allocation stats
These are only collected for debug purposes, but can get quite large if the interpreter runs for a while. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/scheme/ao_scheme_mem.c')
-rw-r--r--src/scheme/ao_scheme_mem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scheme/ao_scheme_mem.c b/src/scheme/ao_scheme_mem.c
index fe4bc4f5..45d4de98 100644
--- a/src/scheme/ao_scheme_mem.c
+++ b/src/scheme/ao_scheme_mem.c
@@ -483,9 +483,9 @@ ao_scheme_poly_mark_ref(ao_poly *p, uint8_t do_note_cons)
}
#if DBG_MEM_STATS
-int ao_scheme_collects[2];
-int ao_scheme_freed[2];
-int ao_scheme_loops[2];
+uint64_t ao_scheme_collects[2];
+uint64_t ao_scheme_freed[2];
+uint64_t ao_scheme_loops[2];
#endif
int ao_scheme_last_top;