mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-06 20:44:55 +00:00
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:
parent
362656bfa3
commit
086b987be4
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue