INtime SDK Help
knSetKernelTime
INtime SDK v6 > 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
);

Parameters

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

Requirements

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