summaryrefslogtreecommitdiff
path: root/benchmarks/intel_upload_blit_large_map.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2015-07-21 14:05:24 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2015-09-28 18:23:52 +0300
commit983dfe5b68e2e18006cee78811ff387735386fa1 (patch)
treebea1456b20d608eec9e5fe89aeb4c0788fb6d014 /benchmarks/intel_upload_blit_large_map.c
parent571942f0c43451b48b0d47d80c70ff2808908317 (diff)
tests/pm_rc6_residency: Measure the sleep duration
The code is confused about the units of CODE_TIME. The comment says 50 microsseconds, but the actual code makes it 50 milliseconds. Avoid the whole mess by measuring the sleep duration ourselves. Since the time measurement is taken around the whole operation it obviously includes a bit of extra, but at least it's much less than the fixed 50 ms. For instance on one VLV board I now get something like this: - Residency in rc6 or deeper state: 3002 ms (ratio to expected duration: 0.98) + Residency in rc6 or deeper state: 3001 ms (sleep duration 3003 ms) (ratio to expected duration: 1.00) so the reported ratio is now much closer to reality. Reviewed-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'benchmarks/intel_upload_blit_large_map.c')
0 files changed, 0 insertions, 0 deletions