FUNCTION::GET_CYCLES(3stap) Timestamp Functions FUNCTION::GET_CYCLES(3stap)NAMEfunction::get_cycles - Processor cycle count
SYNOPSISget_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.
AUTHOR
SystemTap
Hackers
COPYRIGHTSystemTap Tapset Reference February 2012 FUNCTION::GET_CYCLES(3stap)