summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2014-09-04 14:31:30 -0500
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-09-05 11:32:36 +0300
commit086b987be4b530a3ff45ec20b265844b6b4aca0e (patch)
tree107b9f65af3a13dd53357cc19515e7e3415a79a9
parent362656bfa308b653ed6c40b3e788b481d92b7cc8 (diff)
downloadweston-086b987be4b530a3ff45ec20b265844b6b4aca0e.tar.gz
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>
-rw-r--r--tests/matrix-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/matrix-test.c b/tests/matrix-test.c
index 7b414c9a..6bf4ba3a 100644
--- a/tests/matrix-test.c
+++ b/tests/matrix-test.c
@@ -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);
}