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>
diff --git a/tests/matrix-test.c b/tests/matrix-test.c
index 7b414c9..6bf4ba3 100644
--- a/tests/matrix-test.c
+++ b/tests/matrix-test.c
@@ -288,7 +288,7 @@
}
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 @@
}
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);
}