Re: [Intel-gfx] [PATCH igt] igt/gem_sync: Sync before starting the clock

2017-09-29 Thread Joonas Lahtinen
On Fri, 2017-09-29 at 09:19 +0100, Chris Wilson wrote: > Hide the initial setup cost of a new batch by performing it before we > start the clock for measuring the execute-wait latency. > > Signed-off-by: Chris Wilson Reviewed-by: Joonas Lahtinen Regards, Joonas -- Joonas Lahtinen Open Source

[Intel-gfx] [PATCH igt] igt/gem_sync: Sync before starting the clock

2017-09-29 Thread Chris Wilson
Hide the initial setup cost of a new batch by performing it before we start the clock for measuring the execute-wait latency. Signed-off-by: Chris Wilson --- tests/gem_sync.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/gem_sync.c b/tests/gem_sync.c index 8ed9760d..c9e2f014 10064