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

cycles_to_ns

Function cycles_to_ns 

Source
pub fn cycles_to_ns(cycles: u64) -> u64
Expand description

Convert CPU cycles to nanoseconds (assumes 2GHz CPU)