i965: Add macros for creating performance monitor counters and groups.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 31 Oct 2013 22:50:19 +0000 (15:50 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Nov 2013 23:01:13 +0000 (15:01 -0800)
commit7bf3cd4315343c3f1e0c36cc5ca1f790857e072a
tree8e057f438355fa3f78284a9238a433405f81d666
parent63b8ce612fa11c9aee5db101d3446c9783bf4111
i965: Add macros for creating performance monitor counters and groups.

The Observability Architecture counters are 32-bit unsigned values, and
the Pipeline Statistics Register counters are 64-bit unsigned values.

These convenience macros make it easy to create those types of counters.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_performance_monitor.c