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
.
Structs§
- A Rust wrapper around a
ktime_t
.
Constants§
- The number of nanoseconds per millisecond.
Functions§
- Returns the number of milliseconds between two ktimes.
- Converts milliseconds to jiffies.
Type Aliases§
- The time unit of Linux kernel. One jiffy equals (1/HZ) second.
- The millisecond time unit.