1FUNCTION::LOCAL_CLOC(3stap) Timestamp Functions FUNCTION::LOCAL_CLOC(3stap)
23
4
NAME
6function::local_clock_s - Number of seconds on the local cpu's clock
7
SYNOPSIS
9local_clock_s:long()
10
ARGUMENTS
12None
13
DESCRIPTION
15This function returns the number of seconds on the local cpu's clock.
16This is always monotonic comparing on the same cpu, but may have some
17drift between cpus (within about a jiffy).
18
SEE ALSO
20tapset::timestamp_monotonic(3stap)
2122
23
24
SystemTap Tapset Reference May 2022 FUNCTION::LOCAL_CLOC(3stap)