matrix-test: fix units in report

The matrix-test speed tests are calculated in ns but some printed the
units as us

Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Derek Foreman
2014-09-04 14:31:30 -05:00
committed by Pekka Paalanen
parent 362656bfa3
commit 086b987be4
+2 -2
View File
@@ -288,7 +288,7 @@ test_loop_speed_matrixvector(void)
} }
t = read_timer(); t = read_timer();
printf("%lu iterations in %f seconds, avg. %.1f us/iter.\n", printf("%lu iterations in %f seconds, avg. %.1f ns/iter.\n",
count, t, 1e9 * t / count); count, t, 1e9 * t / count);
} }
@@ -315,7 +315,7 @@ test_loop_speed_inversetransform(void)
} }
t = read_timer(); t = read_timer();
printf("%lu iterations in %f seconds, avg. %.1f us/iter.\n", printf("%lu iterations in %f seconds, avg. %.1f ns/iter.\n",
count, t, 1e9 * t / count); count, t, 1e9 * t / count);
} }