1FUNCTION::CPU_CLOCK_(3stap) Timestamp Functions FUNCTION::CPU_CLOCK_(3stap)
2
3
4
6 function::cpu_clock_ns - Number of nanoseconds on the given cpu's clock
7
9 cpu_clock_ns:long(cpu:long)
10
12 cpu
13 Which processor's clock to read
14
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
21 tapset::timestamp_monotonic(3stap)
22
23
24
25SystemTap Tapset Reference May 2021 FUNCTION::CPU_CLOCK_(3stap)