|
Percepio Trace Recorder v4.11.0
|
Macros | |
| #define | xTraceCounterAdd(xCounterHandle, xValue) |
| Adds value to trace counter. | |
| #define | xTraceCounterGet(xCounterHandle, pxValue) |
| Gets trace counter value. | |
| #define | xTraceCounterIncrease(xCounterHandle) |
| Increases trace counter value. | |
| #define | xTraceCounterDecrease(xCounterHandle) |
| Decreases trace counter value. | |
| #define | xTraceCounterGetUpperLimit(xCounterHandle, pxValue) |
| Gets trace counter upper limit. | |
| #define | xTraceCounterGetLowerLimit(xCounterHandle, pxValue) |
| Gets trace counter lower limit. | |
| #define | xTraceCounterGetName(xCounterHandle, pszName) |
| Gets trace counter name. | |
Functions | |
| traceResult | xTraceCounterInitialize (TraceCounterData_t *pxBuffer) |
| Initializes the Counter trace system. | |
| traceResult | xTraceCounterSetCallback (TraceCounterCallback_t xCallback) |
| Sets trace counter callback. | |
| traceResult | xTraceCounterCreate (const char *szName, TraceBaseType_t xInitialValue, TraceBaseType_t xLowerLimit, TraceBaseType_t xUpperLimit, TraceCounterHandle_t *pxCounterHandle) |
| Creates trace counter. | |
| traceResult | xTraceCounterSet (TraceCounterHandle_t xCounterHandle, TraceBaseType_t xValue) |
| Sets trace counter value. | |
| #define xTraceCounterAdd | ( | xCounterHandle, | |
| xValue ) |
Adds value to trace counter.
| [in] | xCounterHandle | Initialized trace counter handle. |
| [in] | xValue | Value. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceCounterDecrease | ( | xCounterHandle | ) |
Decreases trace counter value.
| [in] | xCounterHandle | Initialized trace counter handle |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceCounterGet | ( | xCounterHandle, | |
| pxValue ) |
Gets trace counter value.
| [in] | xCounterHandle | Initialized trace counter handle. |
| [out] | pxValue | Returned value. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceCounterGetLowerLimit | ( | xCounterHandle, | |
| pxValue ) |
Gets trace counter lower limit.
| [in] | xCounterHandle | Initialized trace counter handle |
| [out] | pxValue | Returned value |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceCounterGetName | ( | xCounterHandle, | |
| pszName ) |
Gets trace counter name.
| [in] | xCounterHandle | Initialized trace counter handle. |
| [out] | pszName | Returned name. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceCounterGetUpperLimit | ( | xCounterHandle, | |
| pxValue ) |
Gets trace counter upper limit.
| [in] | xCounterHandle | Initialized trace counter handle |
| [out] | pxValue | Returned value |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceCounterIncrease | ( | xCounterHandle | ) |
Increases trace counter value.
| [in] | xCounterHandle | Initialized trace counter handle |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| traceResult xTraceCounterCreate | ( | const char * | szName, |
| TraceBaseType_t | xInitialValue, | ||
| TraceBaseType_t | xLowerLimit, | ||
| TraceBaseType_t | xUpperLimit, | ||
| TraceCounterHandle_t * | pxCounterHandle ) |
Creates trace counter.
| [in] | szName | Name. |
| [in] | xInitialValue | Initial value. |
| [in] | xLowerLimit | Lower limit. |
| [in] | xUpperLimit | Upper limit. |
| [out] | pxCounterHandle | Uninitialized trace counter handle. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| traceResult xTraceCounterInitialize | ( | TraceCounterData_t * | pxBuffer | ) |
Initializes the Counter trace system.
| [in] | pxBuffer | Pointer to memory that is used by the counter system |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| traceResult xTraceCounterSet | ( | TraceCounterHandle_t | xCounterHandle, |
| TraceBaseType_t | xValue ) |
Sets trace counter value.
| [in] | xCounterHandle | Initialized trace counter handle. |
| [in] | xValue | Value. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| traceResult xTraceCounterSetCallback | ( | TraceCounterCallback_t | xCallback | ) |
Sets trace counter callback.
| [in] | xCallback | Callback |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |