VOID
KeQueryTickCount(
OUT PLARGE_INTEGER TickCount
);
KeQueryTickCount maintains a count of the interval timer interrupts that have occurred since the system was booted.
Parameters
TickCount
Points to the tick count value on return from KeQueryTickCount.
Comments
The TickCount value increases by one at each interval timer interrupt while the system is running.
The preferred method of determining elapsed time is by using TickCount for relative timing and time stamps.
To determine the absolute elapsed time multiply the returned TickCount by the KeQueryTimeIncrement return value using compiler support for 64-bit integer operations.
The caller can be running at any IRQL.
See Also