FUNCTION::CPU_CLOCK_

Section: Timestamp Functions (3stap)
Updated: June 2015
Index Return to Main Contents
 

NAME

function::cpu_clock_ns - Number of nanoseconds on the given cpu's clock  

SYNOPSIS

    cpu_clock_ns:long(cpu:long)
 

ARGUMENTS

cpu

Which processor's clock to read
 

DESCRIPTION

This function returns the number of nanoseconds 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).  

SEE ALSO

tapset::timestamp_monotonic(3stap)


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 14:12:07 GMT, June 19, 2015