dfcb3e3552
we should average the nominal clock rate. stathz now runs at hz (the hard clock hz), without getting high amounts of time in interrupt handling.