次の方法で共有


ProfilerHit (Compact 2013)

3/28/2014

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

See Also

Reference

Kernel Functions
ProfilerHitEx
GetEPC