3 # drift of 104.8576 -> +1 tick. Base of 10000 ticks.
5 # 970306 HMS Deal with nanoseconds. Fix sign of adjustments.
8 # Assumes a 100Hz box with "tick" of 10000
9 # Someday, we might call "tickadj" for better values...
10 $base=10000; # tick: 1,000,000 / HZ
11 $cvt=104.8576; # 2 ** 20 / $base
35 printf("%.3f (drift)\n", $v1);
37 printf("%d usec; %d nsec\n", $base, ($base + ($v1/$cvt)) * 1000);