EngQueryPerformanceCounter

VOID EngQueryPerformanceCounter(

    LONGLONG  *pPerformanceCount
  );

EngQueryPerformanceCounter queries the performance counter.

Parameters

pPerformanceCount

Pointer to a location in which the performance counter value, in hertz, is returned.

Comments

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.

See Also

EngQueryPerformanceFrequency