Partager via


GetEPC (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Kernel Functions
ProfilerHit

Other Resources

Monte Carlo Profiling