Training
×

Low Level Counters

knGetKernelTime returns the current value of the 64-bit counter that the kernel uses to keep track of the number of system timer ticks that have occurred. When the kernel is initialized, the count is set to 0. The period of a system timer tick is configurable, and the current configuration may be read using CopyRtSystemInfo. Although this call is non-scheduling, it is not recommended for use by interrupt handlers.
knSetKernelTime sets the value of the counter that the kernel uses to keep track of the number of system timer ticks that have occurred. Although this call is non-scheduling, it is not recommended for interrupt handlers.