radeon: delay the generation of driver query names until first use
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 25 Nov 2015 11:32:23 +0000 (12:32 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 26 Nov 2015 09:57:43 +0000 (10:57 +0100)
commit80a16dece614ef3763e2817d10a45462367af8b2
tree7a3f11c6dfd8e7c4011d30bccfaccd7908410f06
parentca976e6900dc8ff457ed9dba661d037c616abc59
radeon: delay the generation of driver query names until first use

This shaves a bit more time off the startup of programs that don't
actually use performance counters.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_perfcounter.c
src/gallium/drivers/radeon/r600_query.h
src/gallium/drivers/radeonsi/si_perfcounter.c