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

read_timestamp

Function read_timestamp 

Source
pub fn read_timestamp() -> u64
Expand description

Get current timestamp in nanoseconds (architecture-specific).

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