From: Eric Anholt Date: Tue, 27 Aug 2013 18:43:40 +0000 (-0700) Subject: Report what the actual units are. X-Git-Url: https://git.cworth.org/git?p=fips;a=commitdiff_plain;h=ce27513d12ab21ecef7cf92015de7885e870f2c7 Report what the actual units are. "When the timer query timer is finally stopped, the elapsed time (in nanoseconds) is written to the corresponding query object as the query result value" --- diff --git a/metrics.c b/metrics.c index 39ed5ba..19d5df0 100644 --- a/metrics.c +++ b/metrics.c @@ -135,7 +135,7 @@ print_program_metrics (void) for (i = 0; i < ctx->num_program_metrics; i++) { if (ctx->program_metrics[i].ticks == 0.0) continue; - printf ("Program %d:\t%7.2f mega-ticks\n", + printf ("Program %d:\t%7.2f ms\n", i, ctx->program_metrics[i].ticks / 1e6); } }