clk_get_accuracy — obtain the clock accuracy in ppb (parts per billion) for a clock source.
long clk_get_accuracy (
)
clk
clock source
This gets the clock source accuracy expressed in ppb. A perfect clock returns 0.