Skip to content

Commit

Permalink
Add experimental extension for metric trace
Browse files Browse the repository at this point in the history
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
  • Loading branch information
matcabral committed Mar 15, 2024
1 parent 6aa64e3 commit 2bc659d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/tools/EXT_Exp_MetricTracer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ The following pseudo-code demonstrates how to enumerate Tracer based metric grou
std::vector<zet_metric_handle_t>decodableMetrics(numDecodableMetrics);
${t}MetricDecoderGetDecodableMetricsExp(hMetricDecoder, &numDecodableMetrics, decodableMetrics.data());
// Enable the tracer
${t}MetricTracerEnableExp(hMetricTracer, true);
// Run your workload
Workload(hDevice);
Expand Down

0 comments on commit 2bc659d

Please sign in to comment.