mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-01 12:33:12 +08:00
Add debug variable to disable timestamp events
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e27d8a53a1
commit
6c84c0407b
@@ -159,6 +159,9 @@ struct EventPool : _ze_event_pool_handle_t {
|
||||
virtual uint32_t getEventSize() = 0;
|
||||
|
||||
bool isEventPoolTimestampFlagSet() {
|
||||
if (NEO::DebugManager.flags.DisableTimestampEvents.get()) {
|
||||
return false;
|
||||
}
|
||||
if (eventPoolFlags & ZE_EVENT_POOL_FLAG_KERNEL_TIMESTAMP) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user