Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
function::cpu_clock_ns — Number of nanoseconds on the given cpu's clock
- Which processor's clock to read
This function returns the number of nanoseconds on the given cpu's clock. This is always monotonic comparing on the same cpu, but may have some drift between cpus (within about a jiffy).