mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
tests: sprinkle igt logging
All the cases that simply dump some debug information and couldn't be converted to some of the fancier macros. Some information output removed when it's redundant with the subtest status. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -99,8 +99,8 @@ static void loop(int fd, uint32_t handle, unsigned ring_id, const char *ring_nam
|
||||
gettimeofday(&start, NULL);
|
||||
igt_assert(exec(fd, handle, count, ring_id) == 0);
|
||||
gettimeofday(&end, NULL);
|
||||
printf("Time to exec x %d: %7.3fµs (ring=%s)\n",
|
||||
count, elapsed(&start, &end, count), ring_name);
|
||||
igt_info("Time to exec x %d: %7.3fµs (ring=%s)\n",
|
||||
count, elapsed(&start, &end, count), ring_name);
|
||||
fflush(stdout);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user