Percepio Trace Recorder v4.8.0.hotfix1
Loading...
Searching...
No Matches
trcRunnable.h File Reference

Public trace runnable APIs. More...

#include <trcTypes.h>

Go to the source code of this file.

Macros

#define xTraceRunnableStart(xRunnableHandle)   xTraceEventCreate1(PSF_EVENT_RUNNABLE_START, (TraceUnsignedBaseType_t)(xRunnableHandle))
 Creates an event indicating a runnable started.
 
#define xTraceRunnableStop()   xTraceEventCreate0(PSF_EVENT_RUNNABLE_STOP)
 Creates an event indicating a runnable stopped.
 
#define xTraceRunnableRegisterStaticSet(szName, uiMajor, uiMinor, uiPatch, uiRunnableCount, pxRunnableSetHandle)   xTraceExtensionCreate(szName, uiMajor, uiMinor, uiPatch, uiRunnableCount, pxRunnableSetHandle)
 Registers a set of static runnables. Requires XML configuration to properly interpret.
 
#define xTraceRunnableStartStatic(xRunnableSetHandle, uiRunnableId)   xTraceEventCreate0(xTraceExtensionGetEventId(xRunnableSetHandle, uiRunnableId))
 Start a static runnable. Requires XML configuration to properly interpret.
 
#define xTraceRunnableStopStatic()   xTraceRunnableStop()
 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.
 

Detailed Description

Public trace runnable APIs.