summaryrefslogtreecommitdiff
path: root/src/scheme/ao_scheme.h
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.h
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.h')
-rw-r--r--src/scheme/ao_scheme.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scheme/ao_scheme.h b/src/scheme/ao_scheme.h
index 89616617..4655b2a9 100644
--- a/src/scheme/ao_scheme.h
+++ b/src/scheme/ao_scheme.h
@@ -522,9 +522,9 @@ ao_scheme_poly_vector(ao_poly poly)
/* memory functions */
-extern int ao_scheme_collects[2];
-extern int ao_scheme_freed[2];
-extern int ao_scheme_loops[2];
+extern uint64_t ao_scheme_collects[2];
+extern uint64_t ao_scheme_freed[2];
+extern uint64_t ao_scheme_loops[2];
/* returns 1 if the object was already marked */
int