summaryrefslogtreecommitdiffstats
path: root/src/intel/perf/gen_perf_mdapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/perf/gen_perf_mdapi.h')
-rw-r--r--src/intel/perf/gen_perf_mdapi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/intel/perf/gen_perf_mdapi.h b/src/intel/perf/gen_perf_mdapi.h
index dcaa8c3ebeb..fcdee079013 100644
--- a/src/intel/perf/gen_perf_mdapi.h
+++ b/src/intel/perf/gen_perf_mdapi.h
@@ -26,6 +26,9 @@
#include <stdint.h>
+struct gen_device_info;
+struct gen_perf_query_result;
+
/*
* Data format expected by MDAPI.
*/
@@ -116,4 +119,9 @@ struct mdapi_pipeline_metrics {
uint64_t CSInvocations;
};
+int gen_perf_query_result_write_mdapi(void *data, uint32_t data_size,
+ const struct gen_device_info *devinfo,
+ const struct gen_perf_query_result *result,
+ uint64_t freq_start, uint64_t freq_end);
+
#endif /* GEN_PERF_MDAPI_H */