summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-09-25 19:54:21 +0200
committerPaweł Redman <pawel.redman@gmail.com>2018-09-25 19:54:21 +0200
commit01e9a432842686bd033fba84f7524a30d4bb40c7 (patch)
treead6375c9d57354bd559ce4edd7574ad2c456e15a /src
parent58c3bfc2b05cdeb53912bb659b4981e01502305a (diff)
Compare adjusted speeds in the output table.
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 04e0bad..ca3efc8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -121,8 +121,9 @@ static void benchmark(void)
printf("%7s %.2f ± %.2f", sf->name, sf->T, sf->dT);
if (i > 0) {
- printf(" %.2f ± %.2f", sf->adj_T, sf->adj_dT);
printf(" (x %.3f)", sf->T / fastest->T);
+ printf(" %.2f ± %.2f", sf->adj_T, sf->adj_dT);
+ printf(" (x %.3f)", sf->adj_T / fastest->adj_T);
}
puts("");
}