MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / timerTestFunc

Method timerTestFunc

src/util/Timer.cpp:173–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173void Timer::timerTestFunc() {
174 update();
175 if (getNumUpdates() % 120 == 0) {
176 std::cout << getNumUpdates() << "," << getSeconds() << " Rate: " << ((double)getNumUpdates()/getSeconds()) << "/sec" << std::endl;
177 }
178 if (getNumUpdates() >= 600) {
179 reset();
180 }
181}
182

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected