Expand description
Time related primitives.
This module contains the kernel APIs related to time and timers that have been ported or wrapped for usage by Rust code in the kernel.
C header: include/linux/jiffies.h.
C header: include/linux/ktime.h.
Modules§
- hrtimer
- Intrusive high resolution timers.
Structs§
- Ktime
- A Rust wrapper around a ktime_t.
Enums§
- ClockId
- An identifier for a clock. Used when specifying clock sources.
Constants§
- NSEC_PER_ MSEC 
- The number of nanoseconds per millisecond.
Functions§
- ktime_ms_ delta 
- Returns the number of milliseconds between two ktimes.
- msecs_to_ jiffies 
- Converts milliseconds to jiffies.