Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

function::get_cycles - Processor cycle count

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.

Name

       function::get_cycles - Processor cycle count

See Also

tapset::timestamp(3stap)

SystemTap Tapset Reference                         April 2024                        FUNCTION::GET_CYCLES(3stap)

Synopsis

           get_cycles:long()

See Also