Share via


GetEPC

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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

See Also

Reference

Kernel Functions
ProfilerHit

Other Resources

Monte Carlo Profiling