diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-02-12 11:36:07 +0000 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-02-13 12:43:29 +0000 |
commit | 6d51cf112374ba73f7391b5d846bb83e81b060d3 (patch) | |
tree | fb1683313c39eb00ade73423d31482437c8b72f2 /lib/igt_kms.c | |
parent | cc60b8f09c8c190849f1d8ac8578e2053d356179 (diff) |
tests/perf_pmu: Give sampling more time
We get occasional errors like:
(perf_pmu:21315) CRITICAL: Test assertion failure function sema_wait, file perf_pmu.c:631:
(perf_pmu:21315) CRITICAL: Failed assertion: (double)(val[1] - val[0]) <= (1.0 + (tolerance)) * (double)(slept) && (double)(val[1] - val[0]) >= (1.0 - (tolerance)) * (double)(slept)
(perf_pmu:21315) CRITICAL: 'val[1] - val[0]' != 'slept' (450000000.000000 not within 5.000000% tolerance of 500129618.000000)
Suggesting a time disagreement between userspace and the PMU.
At the moment I got no better ideas than fiddling with delays to see if it
improves things.
v2: Wait for sampling to start instead of hardcoded sleep. (Chris Wilson)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/igt_kms.c')
0 files changed, 0 insertions, 0 deletions