DOKK / manpages / debian 12 / systemtap-doc / function::get_cycles.3stap.en
FUNCTION::GET_CYCLES(3stap) Timestamp Functions FUNCTION::GET_CYCLES(3stap)

function::get_cycles - Processor cycle count


get_cycles:long()

None

This function returns the processor cycle counter value if available, else it returns zero. The cycle counter is free running and unsynchronized on each processor. Thus, the order of events cannot determined by comparing the results of the get_cycles function on different processors.

tapset::timestamp(3stap)

November 2022 SystemTap Tapset Reference