| |||
Home > Class Reference > The CADIProfiling class > CADIProfiling::CADIProfileTraceControl() |
This starts, stops, and resets recording the execution trace.
virtual CADIReturn_t CADIProfiling::CADIProfileTraceControl( CADITraceBufferControl_t bufferArg,
CADITraceControl_t control, CADITraceOverlayControl_t overlay) = 0;
where:
bufferArg
is the action to take place when the buffer is full, that is, either wrap or stop. See CADITraceBufferControl_t.
control
defines the tracing behavior and is one of the values defined in CADITraceControl_t:
CADI_TRACE_CNTL_StartContinuous
CADI_TRACE_CNTL_StartDiscontinuity
CADI_TRACE_CNTL_Stop
.
overlay
selects overlay and is one of the values defined in CADITraceOverlayControl_t:
If CADI_TRACE_OVERLAY_Memory
,
overlay events must be included in the trace output at the expense
of not being able to see inside the trace manager.
If CADI_TRACE_OVERLAY_Manager
,
the trace data must include the overlay manager code at the expense
of not knowing the details about the memory regions that are overlaid.