summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-11-14 21:27:03 -0800
committerKeith Packard <keithp@keithp.com>2017-02-20 11:16:50 -0800
commit74ff0c6fd6c41cdaa054dcdb3d05c7d333bc24ff (patch)
tree12490ae2c8af162cb4696b1e5e3b1b500f75fbfa /src/test
parent5557f6b87a9b8bc9716de8191f2062a772a6ae6c (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>
Diffstat (limited to 'src/test')
-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);
}