morpheus_network::boot::handoff

Function has_invariant_tsc

Source
pub fn has_invariant_tsc() -> bool
Expand description

Check if CPU has invariant TSC via CPUID.

Invariant TSC means the TSC runs at constant rate regardless of CPU frequency changes (power management, turbo boost, etc.)

ยงSafety

Uses CPUID instruction which is always available on x86_64.