diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-09-04 10:05:03 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-09-03 13:52:05 +0100 |
commit | 706a32e7c1dbba1135f8039dabf9bb80004354db (patch) | |
tree | 04806369a730968d804da6610635cc7983e63409 | |
parent | 4b3828843a4a93da8a24f0bf0c3d8bb4b5d1dc50 (diff) |
pmu?
-rw-r--r-- | tests/i915/perf_pmu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/i915/perf_pmu.c b/tests/i915/perf_pmu.c index a66b9a47..f4e1ebd9 100644 --- a/tests/i915/perf_pmu.c +++ b/tests/i915/perf_pmu.c @@ -1628,6 +1628,10 @@ test_rc6(int gem_fd, unsigned int flags) igt_require(wait_for_rc6(fd)); + pmu_read_single(fd); + sleep(1); + pmu_read_single(fd); + /* While idle check full RC6. */ prev = __pmu_read_single(fd, &ts[0]); slept = measured_usleep(duration_ns / 1000); |