kernel

Module time

Source
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§

Functions§

Type Aliases§

  • The time unit of Linux kernel. One jiffy equals (1/HZ) second.
  • The millisecond time unit.