This patch implements Deactivate previously activated metric groups,
if they are not part of the current list
Related-To: LOCI-3160
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
This patch adds enumeration of metric group for
IP sampling.
Related-To: LOCI-2754
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
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 patch is to refactor MetricQuery and MetricQueryPool
so that Stall sampling metric could be integrated seamlessly
Related-To: LOCI-2904
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
Refactor Metric Group Implementation to move OA specific
implementation to OA specific classes.
This is so that stall sampling specific Metric Group
implementation could be done seamlessly.
Related-To: LOCI-2753
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
Rename Metric Context and move OA specific functions
and members from Metric Context to OA specific class(MetricSource).
This refactoring is done so that additional Metric Source
like Stall Sampling could be Seamlessly implemented.
Related-To: LOCI-2753
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
Rename multiDeviceCapable to implicitScalingCapable
Rename isMultiDeviceCapable to isImplicitScalingCapable
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
Release Metrics Library after Query related objects are released
Related-To: LOCI-2656
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
Add Support for Sub-Devices in Metric Streamer Open & Close API
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
Related-To: LOCI-2459
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
1. Disable oa configuration cache on Linux.
2. Do not allow to create mertic query during tracer usage and vice versa.
Change-Id: I139416a92ac8604c8b46b254b533abf6038c2351