INtime SDK Help
INtime SDK v7.1 > About INtime > INtime Kernel > Time management > knSetKernelTime

Sets the value of the counter that the kernel uses to tally the number of system timer ticks that have occurred. When the kernel is initialized, the count is set to 0 (zero). You can determine the current value of the clock with the knGetKernelTime function.

Although this call is non-scheduling, it is not recommended for interrupt handlers.

VOID knSetKernelTime(
    LPKTIME lplTime    // pointer to KNTIME structure


Pointer to a KNTIME structure where the kernel stores the value.


Versions Defined in Include Link to
INtime 3.0 intime/rt/include/rtbase.h rt.h rt.lib
See Also