FUNCTION::LOCAL_CLOC

Section: Timestamp Functions (3stap)
Updated: November 2020
Page Index
 

NAME

function::local_clock_s - Number of seconds on the local cpu's clock  

SYNOPSIS

    local_clock_s:long()
 

ARGUMENTS

None  

DESCRIPTION

This function returns the number of seconds on the local 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