mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
Add readEvent method to DebugSession
Related-To: NEO-4556 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c84e9ca4f1
commit
a2cbb4f859
@@ -26,6 +26,8 @@ struct DebugSession : _zet_debug_session_handle_t {
|
||||
virtual bool closeConnection() = 0;
|
||||
virtual ze_result_t initialize() = 0;
|
||||
|
||||
virtual ze_result_t readEvent(uint64_t timeout, zet_debug_event_t *event) = 0;
|
||||
|
||||
Device *getConnectedDevice() { return connectedDevice; }
|
||||
|
||||
protected:
|
||||
|
||||
@@ -32,6 +32,9 @@ struct DebugSessionMock : public L0::DebugSession {
|
||||
}
|
||||
return ZE_RESULT_SUCCESS;
|
||||
}
|
||||
ze_result_t readEvent(uint64_t timeout, zet_debug_event_t *event) override {
|
||||
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
||||
}
|
||||
zet_debug_config_t config;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user