|
Percepio Trace Recorder v4.11.0
|
Macros | |
| #define | xTraceRunnableStart(xRunnableHandle) |
| Creates an event indicating a runnable started. | |
| #define | xTraceRunnableStop() |
| Creates an event indicating a runnable stopped. | |
| #define | xTraceRunnableRegisterStaticSet(szName, uiMajor, uiMinor, uiPatch, uiRunnableCount, pxRunnableSetHandle) |
| Registers a set of static runnables. Requires XML configuration to properly interpret. | |
| #define | xTraceRunnableStartStatic(xRunnableSetHandle, uiRunnableId) |
| Start a static runnable. Requires XML configuration to properly interpret. | |
| #define | xTraceRunnableStopStatic() |
| Stop a static runnable. Requires XML configuration to properly interpret. | |
Functions | |
| traceResult | xTraceRunnableRegister (const char *szName, TraceRunnableRegisterMethod_t uxRegisterMethod, TraceRunnableHandle_t *pxRunnableHandle) |
| Registers a runnable. Can be called multiple times, will not create additional entries. | |
| #define xTraceRunnableRegisterStaticSet | ( | szName, | |
| uiMajor, | |||
| uiMinor, | |||
| uiPatch, | |||
| uiRunnableCount, | |||
| pxRunnableSetHandle ) |
Registers a set of static runnables. Requires XML configuration to properly interpret.
| [in] | szName | Name. |
| [in] | uiMajor | Major version. |
| [in] | uiMinor | Minor version. |
| [in] | uiPatch | Patch version. |
| [in] | uiRunnableCount | Runnables count. |
| [out] | pxRunnableSetHandle | Pointer to uninitialized TraceRunnableStaticSetHandle_t. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceRunnableStart | ( | xRunnableHandle | ) |
Creates an event indicating a runnable started.
| [in] | xRunnableHandle | Runnable handle. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceRunnableStartStatic | ( | xRunnableSetHandle, | |
| uiRunnableId ) |
Start a static runnable. Requires XML configuration to properly interpret.
| [in] | xRunnableSetHandle | Handle to initialized runnable set. |
| [in] | uiRunnableId | Index in the runnable set. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceRunnableStop | ( | ) |
Creates an event indicating a runnable stopped.
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceRunnableStopStatic | ( | ) |
Stop a static runnable. Requires XML configuration to properly interpret.
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| traceResult xTraceRunnableRegister | ( | const char * | szName, |
| TraceRunnableRegisterMethod_t | uxRegisterMethod, | ||
| TraceRunnableHandle_t * | pxRunnableHandle ) |
Registers a runnable. Can be called multiple times, will not create additional entries.
| [in] | szName | Name. |
| [in] | uxRegisterMethod | Indicates how to register the runnable. Since there can be thousands of runnables, storing in entry table is not always a good idea. TRC_RUNNABLE_REGISTER_METHOD_USE_ENTRY_TABLE: Store in entry table normally and handle will point to entry. TRC_RUNNABLE_REGISTER_METHOD_USE_STRING_ADDRESS: For this method the string address must be unique and will be used as handle value. TRC_RUNNABLE_REGISTER_METHOD_USE_HANDLE_ADDRESS: For this method the handle address must be unique and will be used as handle value. |
| [out] | pxRunnableHandle | Pointer to zero-initialized TraceRunnableHandle_t. If handle that is pointed to is not 0 no entry will be created. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |