다음을 통해 공유


pQueryPerformanceCounter (Windows Embedded CE 6.0)

1/5/2010

This function is optional and should be set for platforms that provide timer functions with higher granularity than GetTickCount.

The OAL initializes pQueryPerformanceCounter to point to OEMQueryPerformanceCounter, if defined.

Syntax

extern BOOL (*pQueryPerformanceCounter)(
  LARGE_INTEGER* lpPerformanceCount
);

Parameters

  • lpPerformanceCount
    [in] Pointer to the performance count.

Return Value

This function should always return TRUE.

Remarks

Windows Embedded CE provides a default implementation of QueryPerformanceCounter, which is based on GetTickCount, but will call pQueryPerformanceCounter if defined.

Requirements

Header Developer Implemented
Library coredll.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Optional OAL Functions
pQueryPerformanceFrequency

Other Resources

GetTickCount
QueryPerformanceCounter