10f9391a22
Core dumps stop working if the path is longer than 64 bytes. Use readlink to shorten some of the very long relative paths. Change-Id: I5e7eb6580ca581c5ac3a71afb7b62953836e2660 Signed-off-by: Ben Walker <benjamin.walker@intel.com>
30 lines
610 B
Bash
Executable File
30 lines
610 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -xe
|
|
|
|
testdir=$(readlink -f $(dirname $0))
|
|
rootdir=$(readlink -f $testdir/../../..)
|
|
source $rootdir/scripts/autotest_common.sh
|
|
|
|
timing_enter ioat
|
|
|
|
timing_enter perf
|
|
$rootdir/examples/ioat/perf/perf -t 1
|
|
timing_exit perf
|
|
|
|
timing_enter verify
|
|
$rootdir/examples/ioat/verify/verify -t 1
|
|
timing_exit verify
|
|
|
|
if [ `uname` = Linux ]; then
|
|
timing_enter kperf
|
|
$rootdir/scripts/setup.sh reset
|
|
insmod $rootdir/examples/ioat/kperf/kmod/dmaperf.ko
|
|
$rootdir/examples/ioat/kperf/ioat_kperf -n 4 -q 4 -s 12 -t 32
|
|
rmmod dmaperf.ko
|
|
$rootdir/scripts/setup.sh
|
|
timing_exit kperf
|
|
fi
|
|
|
|
timing_exit ioat
|