Typedef QnnHtpPerfInfrastructure_CreatePowerConfigIdFn_t¶
Defined in File QnnHtpPerfInfrastructure.h
Typedef Documentation¶
-
typedef Qnn_ErrorHandle_t (*QnnHtpPerfInfrastructure_CreatePowerConfigIdFn_t)(uint32_t deviceId, uint32_t coreId, uint32_t *powerConfigId)¶
This API allows client to create power configuration id that has to be used to set different performance modes. Power configuration id has to be destroyed by client when not needed.
- Param deviceId
[in] Hardware Device on which this config id needs to be created.
- Param coreId
[in] Core/NSP on which this config id needs to be created.
- Param powerConfigId
[out] Pointer to power configuration id to be created.
- Return
Error code
QNN_SUCCESS: No error encountered
QNN_HTP_PERF_INFRASTRUCTURE_ERROR_INVALID_INPUT if deviceId/coreId or power configuration id is NULL