Scroll to navigation

FUNCTION:(3stap) Timestamp Functions FUNCTION:(3stap)

function::cpu_clock_s
 

NAME

function::cpu_clock_s - Number of seconds on the given cpu's clock

SYNOPSIS

    cpu_clock_s:long(cpu:long)

ARGUMENTS

cpu
Which processor's clock to read

DESCRIPTION

This function returns the number of seconds on the given cpu's clock. This is always monotonic comparing on the same cpu, but may have some drift between cpus (within about a jiffy).
May 2013 SystemTap Tapset Reference