intel/perf: compute number of passes for a set of counters
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 2 Oct 2018 16:48:24 +0000 (17:48 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 20 May 2020 11:02:27 +0000 (14:02 +0300)
commitd15369332ff400aabb008f9990f7b990b3c8643e
tree595275c45a172cbf111e7f9a3a7c2dd9927e76d3
parent3f0c4c2afe4aa669e3f8cac668c3fb4dc359f57f
intel/perf: compute number of passes for a set of counters

We want to compute the number of passes required to gather performance
data about a set of counters.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2775>
src/intel/perf/gen_perf.c
src/intel/perf/gen_perf.h