1FUNCTION::GET_CYCLES(3stap)   Timestamp Functions  FUNCTION::GET_CYCLES(3stap)
2
3
4

NAME

6       function::get_cycles - Processor cycle count
7

SYNOPSIS

9           get_cycles:long()
10

ARGUMENTS

12       None
13

DESCRIPTION

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

SEE ALSO

22       tapset::timestamp(3stap)
23
24
25
26SystemTap Tapset Reference       October 2018      FUNCTION::GET_CYCLES(3stap)
Impressum