ntel-gpu-tools/benchmarks/ezbench.d/gem_syslatency.test
Chris Wilson 1a50172302 benchmarks: Include my ezbench test runners
Just a set of scripts to integrate these benchmarks with ezbench. They
need to be revised to plugin into latest version of ezbench.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-04-03 18:32:07 +01:00

13 lines
254 B
Plaintext

test_name="gem:sys:latency"
test_exec_time=10
test_invert=1
[ -e $IGT_BENCHMARKS/gem_syslatency ] || return 1
sudo -n true || return 1
gem:sys:latency_run() {
for (( c=0; c<$1; c++ )); do
sudo $IGT_BENCHMARKS/gem_syslatency -f 1
done
}