Well i changed that values from a 1 to a 6 so it looked likes:
Code:
m_counter->writeTimerConfig_AverageSize(6, &localStatus);
Then in my code I have this:
Code:
float rpm
Counter gts;
.
.
.
rpm = (((1/gts.GetPeriod()) / 6) *60);
to find the rpm and when i print out the rpm i get strange results. most of the prints say inf the others say something like 23334.053 for rpm. What is going on with that?