⚠️ VeridianOS Kernel Documentation
- This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise.
no_std
cycles_to_ns
veridian_
kernel
0.25.2
veridian_kernel
Function
cycles_
to_
ns
Copy item path
Source
pub fn cycles_to_ns(cycles: u64) -> u64
Expand description
Convert CPU cycles to nanoseconds (approximate)