From 01e9a432842686bd033fba84f7524a30d4bb40c7 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 25 Sep 2018 19:54:21 +0200 Subject: Compare adjusted speeds in the output table. --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(""); } -- cgit