Expand description
Platform timer frequency detection.
Provides automatic detection of system timer frequencies for ARM64 and x86_64.
This module is no-std compatible for basic register reading, with std-dependent
calibration routines available when the std feature is enabled.
Functionsยง
- counter_
frequency_ hz - Automatically detect the system timer frequency in Hz.
- get_
x86_ 64_ tsc_ freq_ hz - Get x86_64 TSC frequency in Hz.
- timer_
resolution_ ns - Returns the timer resolution in nanoseconds.