⚠️ 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
In veridian_
kernel::
ipc::
perf
veridian_kernel
::
ipc
::
perf
Function
cycles_
to_
ns
Copy item path
Source
pub fn cycles_to_ns(cycles: u64) -> u64
Expand description
Convert CPU cycles to nanoseconds (assumes 2GHz CPU)