1FUNCTION::CPU_CLOCK_(3stap)   Timestamp Functions  FUNCTION::CPU_CLOCK_(3stap)
2
3
4

NAME

6       function::cpu_clock_ns - Number of nanoseconds on the given cpu´s clock
7

SYNOPSIS

9           cpu_clock_ns:long(cpu:long)
10

ARGUMENTS

12       cpu
13           Which processor´s clock to read
14

DESCRIPTION

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

SEE ALSO

21       tapset::timestamp_monotonic(3stap)
22
23
24
25SystemTap Tapset Reference         June 2018       FUNCTION::CPU_CLOCK_(3stap)
Impressum