59 double _limit = 1. / (double)
_divider;
66 std::cout <<
"Counter is on:" << std::endl;
72 if (fmod(_number, _freq) < _limit) {
73 double averageTimeSinceFirstTick = 0.0;
80 std::cout <<
", average time per count, sec: " << averageTimeSinceFirstTick;
85 std::cout <<
", average time per count, sec: " << averageTimeSinceFirstTick;
void setPrintCount(bool _printCount)
unsigned long int _firstCount
unsigned long int getCount(void)
void setNewLine(bool newLine)
void setCounter(unsigned long int)
void increment(long int _incr)
void setDivider(unsigned int)
void setMessage(const char *)