Files
compute-runtime/level_zero/tools/source/sysman/events/events.h
Daniel Enriquez a116d454fe Sysman: Enabling events for Windows
Enabling events for Sysman in Windows Os Specific path HAL.
2020-11-17 16:37:19 +01:00

21 lines
406 B
C++

/*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <level_zero/zes_api.h>
namespace L0 {
class Events {
public:
virtual ~Events(){};
virtual ze_result_t eventRegister(zes_event_type_flags_t events) = 0;
virtual bool eventListen(zes_event_type_flags_t &pEvent, uint32_t timeout) = 0;
virtual void init() = 0;
};
} // namespace L0