FUNCTION::LOCAL_CLOC(3stap) Timestamp Functions FUNCTION::LOCAL_CLOC(3stap)

NAME function::local_clock_ns - Number of nanoseconds on the local cpu´s clock

SYNOPSIS local_clock_ns:long()


DESCRIPTION This function returns the number of nanoseconds on the local cpu´s clock. This is always monotonic comparing on the same cpu, but may have some drift between cpus (within about a jiffy).

SEE ALSO tapset::timestamp_monotonic(3stap)

SystemTap Tapset Reference December 2016 FUNCTION::LOCAL_CLOC(3stap)