Partager via


ProfilerHit (Windows Embedded CE 6.0)

1/6/2010

This function implemented in the kernel is called by the profiler ISR to record a profiling sample.

Syntax

void ProfilerHit(
  DWORD ra
);

Parameters

  • ra
    [in] Exception program counter returned by GetEPC for non-ARM CPUs. For ARM processors, the interrupt service routine (ISR) should set this parameter to the RETURN ADDRESS (RA) value.

Return Value

None.

Remarks

This function is automatically called when an ISR returns SYSINTR_PROFILE on x86 CPUs, but must be called manually on all other CPUs.

The OEM declares the following function in the OEM adaptation layer (OAL):

extern void ProfilerHit(DWORD);

Requirements

Header Developer Implemented
Library Nkstub.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Kernel Functions
ProfilerHitEx
GetEPC

Other Resources

Monte Carlo Profiling