KTimer

KTimer

class KTimer extends KSynchronizationObject and KTimeableInterruptEvent;

Size : 0x3C bytes

OffsetTypeDescription
0x0u32Pointer to vtable
0x4u32Reference count
0x8u32Count of KThreads that sync with this object - number of nodes in the linked list below
0xCKLinkedListNode*Pointer to first KLinkedListNode in node list of KThreads that sync with this object
0x10KLinkedListNode*Pointer to last KLinkedListNode in node list of KThreads that sync with this object
0x14KTimeableInterruptEventInterrupt event (*this) to be used with KTimerAndWDTManager holding its desired time point (relative to the CPU power-on) in CPU ticks (when handling its list of KTimableInterruptEvent instances). Gets incremented at each interval
0x24u8Timer is signaled
0x25u8Timer reset type (one shot, sticky, pulse)
0x26u16Starting from 11.3.0-36: set to 0 prior to removing the timer from the KTimerAndWDTManager queue, set to 1 just after that.
0x28s64Interval in nanoseconds
0x30s64Current value in nanoseconds: current system uptime + user-specified time offset, updated at each interval
0x38KProcess*Owner

Negative intervals and time offsets are considered null.

Category:Kernel synchronization objects Category:Kernel interrupt events