File: gem_syslatency.test

package info (click to toggle)
intel-gpu-tools 2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 62,024 kB
  • sloc: xml: 769,439; ansic: 348,692; python: 8,307; yacc: 2,781; perl: 1,196; sh: 1,178; lex: 487; asm: 227; makefile: 27; lisp: 11
file content (12 lines) | stat: -rw-r--r-- 254 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
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
}