Re: moncontrol(3): remove hertz()

2021-12-06 Thread Philip Guenther
On Mon, Dec 6, 2021 at 10:30 AM Scott Cheloha wrote: > In the moncontrol(3) code we have this fallback function, hertz(). > The idea is to use an undocumented side effect of setitimer(2) to > determine the width of the hardclock(9) tick. > > hertz() has a number of problems: > > So, I want to

moncontrol(3): remove hertz()

2021-12-06 Thread Scott Cheloha
In the moncontrol(3) code we have this fallback function, hertz(). The idea is to use an undocumented side effect of setitimer(2) to determine the width of the hardclock(9) tick. hertz() has a number of problems: 1. Per the setitimer(2) standard, the value of it_interval is ignored if