Reverting Michael's patch I see this with RATE=30Hz.
updateCounts: posting scaler values counts[0]=340710 updateCounts: posting scaler values counts[0]=673958 updateCounts: posting scaler values counts[0]=1007853 updateCounts: posting scaler values counts[0]=1340645 updateCounts: posting scaler values counts[0]=1673964 updateCounts: posting scaler values counts[0]=2007397 updateCounts: posting scaler values counts[0]=2340634 updateCounts: posting scaler values counts[0]=2673957 updateCounts: posting scaler values counts[0]=3008932 updateCounts: posting scaler values counts[0]=3341156
So the average delta ticks is (3341156-340710)/9.=333382.8, which is 33.3 ms, as expected.
Reverting Michael's patch I see this with RATE=30Hz.
updateCounts: posting scaler values counts[0]=340710
updateCounts: posting scaler values counts[0]=673958
updateCounts: posting scaler values counts[0]=1007853
updateCounts: posting scaler values counts[0]=1340645
updateCounts: posting scaler values counts[0]=1673964
updateCounts: posting scaler values counts[0]=2007397
updateCounts: posting scaler values counts[0]=2340634
updateCounts: posting scaler values counts[0]=2673957
updateCounts: posting scaler values counts[0]=3008932
updateCounts: posting scaler values counts[0]=3341156
So the average delta ticks is (3341156- 340710) /9.=333382. 8, which is 33.3 ms, as expected.