summaryrefslogtreecommitdiff
path: root/benchmarks/gem_set_domain.c
AgeCommit message (Collapse)Author
2015-11-22benchmarks: Add a set-domain benchmarkChris Wilson
Benchmark the overhead of changing from GTT to CPU domains and vice versa. Effectively this measures the cost of a clflush, and how well the driver can avoid them. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>