Function Snpe_PSNPE_SetCustomPerfProfile

Function Documentation

Snpe_ErrorCode_t Snpe_PSNPE_SetCustomPerfProfile(Snpe_PSNPE_Handle_t psnpeHandle, size_t instanceIdx, Snpe_SNPEPerfProfile_Handle_t perfProfileHandle)

Set the custom performance profile level of PSNPE object.

Parameters
  • psnpeHandle[in] Handle to access the PSNPE object

  • instanceIdx[in] The idx of SNPE object

  • performanceProfile[in] Handle to accesss the SNPEPerfProfile object

Returns

SNPE_SUCCESS upon successful setting of custom performance profile