Expand description
Time management and timer interrupt handling.
This module provides timer interrupt handling, time slice accounting, and preemption support for the threading system.
Re-exports§
pub use tick::TickCounter;
pub use tick::TimeSlice;
pub use timer::Timer;
pub use timer::TimerConfig;
pub use timer::TimerError;
pub use timer::PreemptGuard;
pub use timer::IrqGuard;
Modules§
Structs§
Constants§
- DEFAULT_
QUANTUM_ NS - Default quantum duration in nanoseconds (1ms).
- TIMER_
FREQUENCY_ HZ - Frequency in Hz for timer interrupts.
Functions§
- get_
monotonic_ time - Get monotonic time - alias for Instant::now() for compatibility