diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-18 10:26:05 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-18 10:27:17 +0100 |
commit | 77b8a5bfd386b8cec1b5df55f6d28a130a0356f9 (patch) | |
tree | 845fe72c267c6ef9d25eaea6490d709acdcf9e51 /tests/gem_exec_nop.c | |
parent | ca4f42ba1748e350a992c72a964a8849dc3b7516 (diff) |
igt/gem_exec_nop: Fix time units for assertion printf
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_exec_nop.c')
-rw-r--r-- | tests/gem_exec_nop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_exec_nop.c b/tests/gem_exec_nop.c index b381e9a9..fb0b6a54 100644 --- a/tests/gem_exec_nop.c +++ b/tests/gem_exec_nop.c @@ -189,7 +189,7 @@ static void all(int fd, uint32_t handle, int timeout) */ igt_assert_f(time < max + 10*min/9, /* ensure parallel execution */ "Average time (%.3fus) exceeds expecation for parallel execution (min %.3fus, max %.3fus; limit set at %.3fus)\n", - time, min, max, max + 10*min/9); + 1e6*time, 1e6*min, 1e6*max, 1e6*(max + 10*min/9)); } igt_main |