ar_util/api/ar_util_err_detection.h
AR Utility Err Detection
Header for SPF error detection framework.
Header:
Parameters
Returns
AR_EOK : on success AR_E<other error> : on failure
Parameters
Returns
AR_EOK : on success AR_E<other error> : on failure
Parameters
Returns
AR_EOK : on success AR_E<other error> : on failure
Parameters
Returns
AR_EOK : on successful error analysis, meaning do_restart is valid AR_E<other error> : otherwise, meaning do_restart should be ignored
Initializes one error detection context. Multiple error detection contexts are useful in multi-master DSP scenarios, so that a fatal error on one master does not require the other to restart. The error detection context stores some persistent data which is used in error analysis
Destroys one error detection context. Multiple error detection contexts are useful in multi-master SPF scenarios, so that a fatal error on one master does not require the other to restart
Reset state variables for an error detection context. After SSR or PDR we must reset state variables in a context, like time since last restart or number of timeouts logged. This API will not reset the client data stored on context init.
Determines whether SPF is in an unrecoverable state. Multiple error detection contexts are useful in multi-master DSP scenarios, so that a fatal error on one master does not require the other to restart We identify them by the proc_id. \dependencies None
Was this page helpful?

