From 6540d658e4bda2dec5e2399ff1e42d8689b869ec Mon Sep 17 00:00:00 2001 From: keiths Date: Thu, 10 Mar 2011 14:50:13 -0800 Subject: clean-up the elapsed time output a little --- archer-expr-plugin/gccexpr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/archer-expr-plugin/gccexpr.c b/archer-expr-plugin/gccexpr.c index f5679638ac0..29659f98916 100644 --- a/archer-expr-plugin/gccexpr.c +++ b/archer-expr-plugin/gccexpr.c @@ -136,7 +136,7 @@ static void print_time_usage (const char *str, struct gccexpr_data *data) { long now = clock (); - fprintf (stderr, "%s %f\n", str, + fprintf (stderr, "time to parse %s %.2f seconds\n", str, (float) (now - data->start_time) / CLOCKS_PER_SEC); } @@ -181,7 +181,7 @@ gccexpr_parse_line_callback (void *gcc_data, void *user_data) { /* Print out the resulting tree. */ output_tree (result); - print_time_usage ("parsing in-line expression", data); + print_time_usage ("in-line expression", data); exit (0); } else @@ -211,7 +211,7 @@ gccexpr_finish_callback (void *gcc_data, void *user_data) if (result != error_mark_node) { output_tree (result); - print_time_usage ("parsing expression at exit", data); + print_time_usage ("expression at exit", data); exit (0); } } -- cgit v1.2.1