nvc0: add support for performance monitoring metrics on Fermi
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 11 Oct 2015 09:23:54 +0000 (11:23 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 17 Oct 2015 08:50:00 +0000 (10:50 +0200)
commitc188235d1be7d4fc65d99d2620d0dcdec5a21c84
tree1e2e3bc593d08c7f65a8a5a1419779a6560f6300
parenta6a6a71092ba912803ae2b47eb56e3afdf36feb5
nvc0: add support for performance monitoring metrics on Fermi

As explained in the CUDA toolkit documentation, "a metric is a
characteristic of an application that is calculated from one or more
event values."

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/Makefile.sources
src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c
src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c [new file with mode: 0644]
src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.h [new file with mode: 0644]