]> git.cworth.org Git - fips/blobdiff - metrics.h
Add collection of (AMD_performance_monitor) performance counters to fips
[fips] / metrics.h
index 45fef33cabc93ae38d788be3950459d29970bede..accafe5f8e91f2660e46687dfc39cbf959b107cc 100644 (file)
--- 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