Wallclock in my PC gains a second or two each week. Normal, I guess, but irritating. I don't want to use NTP, as an exercise, and I'm just wierd like that. Couple of years ago, I looked for a sysctl knob or loader setting, but could not find one that would help. Maybe I did not look hard enough. Maybe things have changed.
Anyway, ntp_adjtime(2) does seem to work set-and-forget kind of way too. Simple utility attached. Using
Juha
Anyway, ntp_adjtime(2) does seem to work set-and-forget kind of way too. Simple utility attached. Using
trimclk -f -3.35
the clock now loses a millisecond per day, more if heated up.Juha