Function Snpe_IDiagLog_SetOptions

Function Documentation

Snpe_ErrorCode_t Snpe_IDiagLog_SetOptions(Snpe_IDiagLog_Handle_t handle, Snpe_Options_Handle_t loggingOptionsHandle)

Sets the options after initialization occurs.

Parameters
  • handle[in] : Handle to access IDiagLog

  • loggingOptions[in] : The options to set up diagnostic logging.

Returns

Error code if the options could not be set. Ensure logging is not started/ SNPE_SUCCESS otherwise