intel/perf: simplify pass computation loop
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 21 Jul 2022 07:51:03 +0000 (07:51 +0000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 17 Nov 2022 12:57:06 +0000 (12:57 +0000)
commit7fbfa694a891369ff408235cb7839505033cfc80
treef262038384080f55009fa437b6046c3dc27b42ef
parent4d19685a9919eb859fcc2de8a2e516b8999f945a
intel/perf: simplify pass computation loop

We don't need to go through all the metric sets as we're already built
a bitset matching per counter to figure out in which metric set a
particular counter is.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18893>
src/intel/perf/intel_perf.c