mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 15:12:56 +08:00
Update debug key to override timestamp event settings
Related-To: NEO-5968 Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c405fb5c2c
commit
c1970942aa
@@ -197,8 +197,9 @@ struct EventPool : _ze_event_pool_handle_t {
|
||||
virtual void setEventAlignment(uint32_t) = 0;
|
||||
|
||||
bool isEventPoolTimestampFlagSet() {
|
||||
if (NEO::DebugManager.flags.DisableTimestampEvents.get()) {
|
||||
return false;
|
||||
if (NEO::DebugManager.flags.OverrideTimestampEvents.get() != -1) {
|
||||
auto timestampOverride = !!NEO::DebugManager.flags.OverrideTimestampEvents.get();
|
||||
return timestampOverride;
|
||||
}
|
||||
if (eventPoolFlags & ZE_EVENT_POOL_FLAG_KERNEL_TIMESTAMP) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user