diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-09-25 19:54:21 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-09-25 19:54:21 +0200 |
commit | 01e9a432842686bd033fba84f7524a30d4bb40c7 (patch) | |
tree | ad6375c9d57354bd559ce4edd7574ad2c456e15a /src | |
parent | 58c3bfc2b05cdeb53912bb659b4981e01502305a (diff) |
Compare adjusted speeds in the output table.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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(""); } |