intel_perf_counters: a little tool for dumping performance counters.
authorEric Anholt <eric@anholt.net>
Wed, 27 Mar 2013 05:06:37 +0000 (22:06 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 27 Mar 2013 11:28:41 +0000 (12:28 +0100)
commit85667f4f7d698ba994af32a65b1393d54b8d8784
tree78a6b71cf5f7dc7cf4a7050ff13ededce809ed2e
parent9535fed171386713dba1147fb9e76f7310a6bc3f
intel_perf_counters: a little tool for dumping performance counters.

This reads the GPU's performance counters via MI_REPORT_PERF_COUNT and
prints them in a top-style interface.  While it can be useful in and of
itself, it also documents the performance counters and lets us verify
that they're working.

Currently, it only supports Ironlake.

v2 [Ken]: Rebase on master and fix compilation failures; make it abort
on non-Ironlake platforms to avoid GPU hangs; rename from 'chaps' to
intel_perf_counters since that acronym isn't used any longer; write the
above commit message.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tools/Makefile.am
tools/intel_perf_counters.c [new file with mode: 0644]