Derek Morton d264c73929 benchmarks/gem_syslatency: Add extra android guard to attr_setaffinity_np
Android defines __USE_GNU but does not provide pthread_attr_setaffinity_np()
so added an extra guard arround pthread_attr_setaffinity_np().

Signed-off-by: Derek Morton <derek.j.morton@intel.com>
2016-03-11 11:34:48 +00:00
..
2016-01-27 14:45:18 +00:00
2016-03-09 23:40:21 +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.