summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2018-04-04 10:51:52 +0100
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2018-04-11 14:32:32 +0100
commitd502f055ac4500cada758876a512ac4f14b34851 (patch)
tree90882fd94c3553f64c8920f3fa5993859101e052 /lib/intel_batchbuffer.c
parenta914075d55dd089095121906bf4c3e825a3cecf2 (diff)
tests/perf_pmu: Avoid RT thread for accuracy test
Realtime scheduling interferes with execlists submission (tasklet) so try to simplify the PWM loop in a few ways: * Drop RT. * Longer batches for smaller systematic error. * More truthful test duration calculation. * Less clock queries. * No self-adjust - instead just report the achieved cycle and let the parent check against it. * Report absolute cycle error. v2: * Bring back self-adjust. (Chris Wilson) (But slightly fixed version with no overflow.) v3: * Log average and mean calibration for each pass. v4: * Eliminate development leftovers. * Fix variance logging. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions