summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-11-14 21:27:03 -0800
committerKeith Packard <keithp@keithp.com>2016-11-17 22:18:39 -0800
commit9636ac0294540a0a778d8fc996a6d17c0d04d367 (patch)
tree8c64f653599b536e01a39995feddb2896bc5ca53
parentc0a56550cf647a1647392557e82bcaa96934cd51 (diff)
altos/lisp: Show number of collect calls in ao_lisp_test
This helps tune the allocator Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/test/ao_lisp_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ao_lisp_test.c b/src/test/ao_lisp_test.c
index 648d1abe..bbaa3f9d 100644
--- a/src/test/ao_lisp_test.c
+++ b/src/test/ao_lisp_test.c
@@ -101,4 +101,5 @@ main (int argc, char **argv)
ao_lisp_file = NULL;
}
ao_lisp_read_eval_print();
+ printf ("%d collects\n", ao_lisp_collects);
}