Chris Wilson 79f804e8d8 benchmark/gem_latency: sync startup correctly
When waiting for the producers to start, use the cond/mutex of the
Nth producer and not always the first.

Spotted-by: "Goel, Akash" <akash.goel@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-04-27 18:37:35 +01:00
..
2016-01-27 14:45:18 +00:00
2016-03-24 11:25:38 +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.