function::cpu_clock_ns.3stap man page

function::cpu_clock_ns ā€” Number of nanoseconds on the given cpu's clock

Synopsis

    cpu_clock_ns:long(cpu:long)

Arguments

cpu

Which processor's clock to read

Description

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).

See Also0

tapset::timestamp_monotonic(3stap)

Info

October 2017 SystemTap Tapset Reference Timestamp Functions