EngQueryPerformanceCounter function (winddi.h)
The EngQueryPerformanceCounter function queries the performance counter.
Syntax
ENGAPI VOID EngQueryPerformanceCounter(
[out] LONGLONG *pPerformanceCount
);
Parameters
[out] pPerformanceCount
Pointer to a location that receives the performance counter value, in hertz.
Return value
None
Remarks
EngQueryPerformanceCounter always returns a 64-bit integer that represents the number of ticks per second. The count begins accumulating when the system is booted.
A driver should call this routine sparingly. Frequent calls to EngQueryPerformanceCounter can degrade the I/O performance for the calling driver and for the system as a whole.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 2000 and later versions of the Windows operating systems. |
Target Platform | Universal |
Header | winddi.h (include Winddi.h) |
Library | Win32k.lib |
DLL | Win32k.sys |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for