mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Metric query/tracer fixes.
1. Disable oa configuration cache on Linux. 2. Do not allow to create mertic query during tracer usage and vice versa. Change-Id: I139416a92ac8604c8b46b254b533abf6038c2351
This commit is contained in:
committed by
sys_ocldev
parent
415954e7a7
commit
982c26202b
@@ -44,4 +44,12 @@ bool MetricsLibrary::deactivateConfiguration(const ConfigurationHandle_1_0 confi
|
||||
return result;
|
||||
}
|
||||
|
||||
void MetricsLibrary::cacheConfiguration(zet_metric_group_handle_t metricGroup, ConfigurationHandle_1_0 configurationHandle) {
|
||||
// Linux does not support configuration cache.
|
||||
// Any previous configuration should be deleted.
|
||||
deleteAllConfigurations();
|
||||
|
||||
// Cache only a single configuration.
|
||||
configurations[metricGroup] = configurationHandle;
|
||||
}
|
||||
} // namespace L0
|
||||
|
||||
Reference in New Issue
Block a user