function::get_cycles.3stap man page

function::get_cycles — Processor cycle count

Synopsis

get_cycles:long()

Arguments

None

Description

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.

See Also0

tapset::timestamp(3stap)

Info

March 2016 SystemTap Tapset Reference Timestamp Functions