OEMProfilerData (Windows CE 5.0)
This structure is used by the following:
- The profiler ISR, to call ProfilerHitEx with hardware-specific profiling data.
- IOCTL_HAL_OEM_PROFILER, to return hardware-specific profiling data on a query during ProfileCaptureStatus.
- The kernel, which writes the result of the query into the CeLog data stream as an event with identifier CELID_OEMPROFILER_HIT.
typedef struct OEMProfilerData {DWORDra;DWORDdwBufSize;BYTEbuf[0];} OEMProfilerData;
Members
ra
Exception program counter returned by GetEPC, for non-ARM CPUs. For ARM processors, the ISR should set this parameter to the RETURN ADDRESS (RA)value that has been provided.IOCTL_HAL_OEM_PROFILER should set this field to zero.
dwBufSize
OEM-defined data.To determine the value of this field, see the documentation for your BSP.
buf
OEM-defined data.To determine the value of this field, see the documentation for your BSP.
Remarks
You can use OEMProfilerData to expose custom profiling data.
The OAL ISR uses OEMProfilerData to pass data to ProfilerHitEx.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Profiler.h.
See Also
ProfilerHit | ProfilerHitEx | ProfileCaptureStatus | GetEPC | IOCTL_HAL_OEM_PROFILER
Send Feedback on this topic to the authors