1FUNCTION::CPU_CLOCK_(3stap) Timestamp Functions FUNCTION::CPU_CLOCK_(3stap)
2
3
4
6 function::cpu_clock_s - Number of seconds on the given cpu´s clock
7
9 cpu_clock_s:long(cpu:long)
10
12 cpu
13 Which processor´s clock to read
14
16 This function returns the number of seconds on the given cpu´s clock.
17 This is always monotonic comparing on the same cpu, but may have some
18 drift between cpus (within about a jiffy).
19
21 tapset::timestamp_monotonic(3stap)
22
23
24
25SystemTap Tapset Reference June 2018 FUNCTION::CPU_CLOCK_(3stap)