Function Snpe_PSNPE_SetPerformanceProfile

Function Documentation

Snpe_ErrorCode_t Snpe_PSNPE_SetPerformanceProfile(Snpe_PSNPE_Handle_t psnpeHandle, size_t instanceIdx, Snpe_PerformanceProfile_t performanceProfile)

Set the performance profile level of PSNPE object.

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

  • instanceIdx[in] The idx of SNPE object

  • performanceProfile[in] The perf profile level

Returns

SNPE_SUCCESS upon successful setting of performance profile