Returns the value of the counter the kernel uses to tally the number of system timer ticks that have occurred. This call is non scheduling, and it may be used in interrupt handlers.
QWORD knGetKernelTime( LPKNTIME lpTime // pointer to a KNTIME structure ); QWORD knGetKernelTime0(void);
lpTime
When the kernel is initialized, the count is set to 0 (zero). You can set the count to any value with knSetKernelTime.
knGetKernelTime0 is a parameterless version which returns the same value as knGetKernelTime. This version should be used in interrupt handlers to avoid a potential write to the stack segment.
The 64-bit value of the system timer tick counter.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |