X-Git-Url: https://git.cworth.org/git?p=fips;a=blobdiff_plain;f=metrics.h;h=accafe5f8e91f2660e46687dfc39cbf959b107cc;hp=45fef33cabc93ae38d788be3950459d29970bede;hb=2760598732e9c373f3331d7d125b580a224bbbe3;hpb=917ee542ec53e422b189023c681478780761af81 diff --git a/metrics.h b/metrics.h index 45fef33..accafe5 100644 --- a/metrics.h +++ b/metrics.h @@ -50,6 +50,15 @@ typedef enum METRICS_OP_SHADER } metrics_op_t; +/* Initialize metrics info + * + * This queries the names and ranges for all available performance counters. + * + * This should be called once before any other metrics functions. + */ +void +metrics_info_init (void); + /* Start accumulating GPU time. * * The time accumulated will be accounted against the