⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

read_tsc

Function read_tsc 

Source
pub fn read_tsc() -> u64
Expand description

Read CPU timestamp counter.

Delegates to the centralized crate::arch::entropy::read_timestamp which provides architecture-specific implementations for x86_64 (RDTSC), AArch64 (CNTVCT_EL0), and RISC-V (rdcycle).