Partager via


GetEPC (Compact 2013)

3/28/2014

This function is implemented by the kernel and called by the profiler interrupt service routine (ISR) to obtain the interrupted application counter, which is the exception program counter (EPC).

Syntax

DWORD GetEPC (void);

Parameters

None.

Return Value

DWORD that specifies the EPC. Zero indicates that the EPC is not supported by the current CPU.

Remarks

In the OEM adaptation layer (OAL), you must declare GetEPC as follows:

extern DWORD GetEPC ();

Requirements

Header

Developer Implemented

Library

Nkstub.lib

See Also

Reference

Kernel Functions
ProfilerHit