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.