matrix-test: fix units in report
authorDerek Foreman <derekf@osg.samsung.com>
Thu, 4 Sep 2014 19:31:30 +0000 (14:31 -0500)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 5 Sep 2014 08:32:36 +0000 (11:32 +0300)
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>
tests/matrix-test.c

index 7b414c9..6bf4ba3 100644 (file)
@@ -288,7 +288,7 @@ test_loop_speed_matrixvector(void)
        }
        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);
 }
 
@@ -315,7 +315,7 @@ test_loop_speed_inversetransform(void)
        }
        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);
 }