Chris Wilson 3d5b50b4f0 benchmarks/gem_blt: Estimate memory bandwidth to improve test runtime
If we autotune the workload to only take 0.1s and then repeat the
measurements over 2s, we can bound the benchmark runtime. (Roughly of
course! Sometimes the dispartity between main memory CPU bandwidth, and
GPU execution bandwidth throws off the runtime, but that's the purpose
of the benchmark!)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-12-31 22:10:11 +00:00
..
2015-12-19 01:31:06 +00:00
2015-12-19 01:31:06 +00:00
2015-12-19 01:31:06 +00:00
2015-11-10 14:04:58 +00:00

These benchmarks are designed to be used from within a benchmark framework
like http://cgit.freedesktop.org/~mperes/ezbench/.

A typical way to run them would be:

$ ~/ezbench/ezbench.sh -p ./linux,git -m '' -b gem: -r 15

which executes the set of gem benchmarks, 15 times each, using HEAD of
./linux.git as the reference commit.