Typedef QnnHtaPerfInfrastructure_SetPowerConfigFn_t¶
Defined in File QnnHtaPerfInfrastructure.h
Typedef Documentation¶
-
typedef Qnn_ErrorHandle_t (*QnnHtaPerfInfrastructure_SetPowerConfigFn_t)(uint32_t clientId, const QnnHtaPerfInfrastructure_PowerConfig_t **config)¶
This API allows client to set up system power configuration that will enable different performance modes.
- Param clientId
[in] A power client id to associate calls to system power settings. A value of 0 implies NULL power client id and can override every other setting the user process. To enable power settings for multiple clients in the same process, use a non-zero power client id.
- Param config
[in] Pointer to a NULL terminated array of config option for performance configuration. NULL is allowed and indicates no config options are provided.
- Return
Error code
QNN_SUCCESS: No error encountered