From 59a2f4828d809a47a71996791c216f5e2da91f6f Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 17 Apr 2014 18:32:36 +0300 Subject: [PATCH] unix: Make mem_info() dump GC info too. mem_info() is already pretty hacky, let it be more hacky. --- unix/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/unix/main.c b/unix/main.c index d5b04d565b..2044e205e4 100644 --- a/unix/main.c +++ b/unix/main.c @@ -250,6 +250,7 @@ int usage(char **argv) { mp_obj_t mem_info(void) { printf("mem: total=%d, current=%d, peak=%d\n", m_get_total_bytes_allocated(), m_get_current_bytes_allocated(), m_get_peak_bytes_allocated()); + gc_dump_info(); return mp_const_none; }