static void done (int exit_code) { if (verbose) { stack_heap_stats (); mem_usage_stats (); printf ("insns: %14s\n", comma (cycles)); } exit (exit_code); }
static void done (int exit_code) { if (verbose) { stack_heap_stats (); mem_usage_stats (); /* Only use comma separated numbers when being very verbose. Comma separated numbers are hard to parse in awk scripts. */ if (verbose > 1) printf ("insns: %14s\n", comma (rx_cycles)); else printf ("insns: %u\n", rx_cycles); pipeline_stats (); } exit (exit_code); }