Function QnnProfile_getExtendedEventData¶
Defined in File QnnProfile.h
Function Documentation¶
-
Qnn_ErrorHandle_t QnnProfile_getExtendedEventData(QnnProfile_EventId_t eventId, QnnProfile_ExtendedEventData_t *eventData)¶
Query the data associated with this profile extended event.
- Parameters
eventId – [in] Qnn profile extended event being queried.
eventData – [out] Event data associated to this extended event.
- Returns
Error code
QNN_SUCCESS: No error encountered
QNN_PROFILE_ERROR_UNSUPPORTED: API not supported.
QNN_PROFILE_ERROR_INVALID_ARGUMENT: eventData is NULL.
QNN_PROFILE_ERROR_INVALID_HANDLE: eventId does not identify a valid event.
QNN_PROFILE_ERROR_MEM_ALLOC: error related to memory allocation
Note
eventData parameter: eventData memory is associated with the profile object and released on profile object release in QnnProfile_free().
Note
Use corresponding API through QnnInterface_t.