Scroll to navigation

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

function::local_clock_ns
 

NAME

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

SYNOPSIS

    local_clock_ns:long()

ARGUMENTS

None

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).
May 2013 SystemTap Tapset Reference