diff options
Diffstat (limited to 'stmhal/pyexec.c')
-rw-r--r-- | stmhal/pyexec.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/stmhal/pyexec.c b/stmhal/pyexec.c index 00cd95362d..08f16b674f 100644 --- a/stmhal/pyexec.c +++ b/stmhal/pyexec.c @@ -137,14 +137,7 @@ STATIC int parse_compile_execute(mp_lexer_t *lex, mp_parse_input_kind_t input_ki } // GC info - { - gc_info_t info; - gc_info(&info); - printf("GC:\n"); - printf(" " UINT_FMT " total\n", info.total); - printf(" " UINT_FMT " : " UINT_FMT "\n", info.used, info.free); - printf(" 1=" UINT_FMT " 2=" UINT_FMT " m=" UINT_FMT "\n", info.num_1block, info.num_2block, info.max_block); - } + gc_dump_info(); } finish: |