1FUNCTION::GET_CYCLES(3stap) Timestamp Functions FUNCTION::GET_CYCLES(3stap)
2
3
4
6 function::get_cycles - Processor cycle count
7
9 get_cycles:long()
10
12 None
13
15 This function returns the processor cycle counter value if available,
16 else it returns zero. The cycle counter is free running and
17 unsynchronized on each processor. Thus, the order of events cannot
18 determined by comparing the results of the get_cycles function on
19 different processors.
20
22 tapset::timestamp(3stap)
23
24
25
26SystemTap Tapset Reference May 2019 FUNCTION::GET_CYCLES(3stap)