Function QnnProfile_getSubEvents¶
Defined in File QnnProfile.h
Function Documentation¶
-
Qnn_ErrorHandle_t QnnProfile_getSubEvents(QnnProfile_EventId_t eventId, const QnnProfile_EventId_t **subEventIds, uint32_t *numSubEvents)¶
Get Qnn profile event handles nested within this Qnn profile event handle.
- Parameters
eventId – [in] QNN Profile event whose sub events are being queried.
subEventIds – [out] Nested profile events on this event.
numSubEvents – [out] Number of profile events.
- Returns
Error code
QNN_SUCCESS: No error encountered
QNN_PROFILE_ERROR_INVALID_ARGUMENT: subEventIds or numSubEvents 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
subEventIds parameter: profile event memory is associated with the profile object and released on profile object release in QnnProfile_free().
Note
Use corresponding API through QnnInterface_t.