Metrics Refactor Metric Streamer

This patch moves OA specific Metric Streamer implementation
to OA specific classes.

Related-To: LOCI-2905

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
This commit is contained in:
Joshua Santosh Ranjan
2022-01-27 13:58:51 +00:00
committed by Compute-Runtime-Automation
parent e1758a2206
commit 596fe02dd3
4 changed files with 4 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ ze_result_t CommandListImp::appendMetricMemoryBarrier() {
ze_result_t CommandListImp::appendMetricStreamerMarker(zet_metric_streamer_handle_t hMetricStreamer,
uint32_t value) {
return MetricStreamer::appendStreamerMarker(*this, hMetricStreamer, value);
return MetricStreamer::fromHandle(hMetricStreamer)->appendStreamerMarker(*this, value);
}
ze_result_t CommandListImp::appendMetricQueryBegin(zet_metric_query_handle_t hMetricQuery) {