@@ -126,7 +126,7 @@ sync_ring(int fd, unsigned ring, int num_children)
gem_execbuf(fd, &execbuf);
gem_sync(fd, object.handle);
} while (++cycles & 1023);
- } while ((elapsed = gettime() - start) < SLOW_QUICK(10, 1));
+ } while ((elapsed = gettime() - start) < 1);
igt_info("%s%sompleted %ld cycles: %.3f us\n",
names[child % num_engines] ?: "",
names[child % num_engines] ? " c" : "C",
@@ -191,7 +191,7 @@ sync_all(int fd, int num_children)
}
gem_sync(fd, object.handle);
} while (++cycles & 1023);
- } while ((elapsed = gettime() - start) < SLOW_QUICK(10, 1));
+ } while ((elapsed = gettime() - start) < SLOW_QUICK(2, 1));
igt_info("Completed %ld cycles: %.3f us\n",
cycles, elapsed*1e6/cycles);
Signed-off-by: Marius Vlad <marius.c.vlad@intel.com> --- tests/gem_sync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)