diff options
author | keiths <keiths@redhat.com> | 2011-03-10 14:50:13 -0800 |
---|---|---|
committer | keiths <keiths@redhat.com> | 2011-03-10 14:50:13 -0800 |
commit | 6540d658e4bda2dec5e2399ff1e42d8689b869ec (patch) | |
tree | e02b867e9a57870131517c3960a24375b3d703e2 | |
parent | 5568f378091571b418b07e33d78cdbe9f872ced5 (diff) | |
download | gcc-archer-expr-plugin.tar.gz |
clean-up the elapsed time output a littlearcher-expr-plugin
-rw-r--r-- | archer-expr-plugin/gccexpr.c | 6 |
1 files 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); } } |