diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-03-16 15:53:57 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-03-23 10:35:17 +0000 |
commit | 20b8799898c844ad57e9cdb0238ffb7a44140d89 (patch) | |
tree | f3685aa9119cfccefb799ea58dbf09113a177a13 /tests/igt_command_line.sh | |
parent | 23a91ab7aa2227fabb09b48301ab70904a70aea7 (diff) |
igt/gem_ctx_switch: Measure qlen for timing loops
Some platforms may execute the heavy workload very slowly, such that
using a batch of 1024 takes tens of seconds and immediately overrunning
the 5s timeout on a pass. Added up over a few dozen passes, this turns a
120 second test into 10 minutes. Counter this by doing a warmup loop to
estimate the appropriate queue len for timing.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'tests/igt_command_line.sh')
0 files changed, 0 insertions, 0 deletions