From: Keith Packard Date: Tue, 15 Nov 2016 05:27:03 +0000 (-0800) Subject: altos/lisp: Show number of collect calls in ao_lisp_test X-Git-Tag: 1.7~165 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=74ff0c6fd6c41cdaa054dcdb3d05c7d333bc24ff altos/lisp: Show number of collect calls in ao_lisp_test This helps tune the allocator Signed-off-by: Keith Packard --- 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); }