package
0.0.0-20240702114427-da4c1ac49fb1
Repository: https://github.com/facebook/time.git
Documentation: pkg.go.dev
# Functions
AdjFreqPPB adjusts clock frequency in PPB.
Adjtime issues CLOCK_ADJTIME syscall to either adjust the parameters of given clock, or read them if buf is empty.
FrequencyPPB reads device frequency in PPB.
MaxFreqPPB returns maximum frequency adjustment supported by the clock.
SetSync sets clock status to TIME_OK.
Step steps clock by given step.
# Constants
estimated time error.
frequency offset.
maximum time error.
select microsecond resolution.
select nanosecond resolution.
time offset.
add 'time' to current time.
clock status.
set TAI offset.
tick value.
pll time constant.
PPBToTimexPPM is what we use to conver PPB to PPM.