MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / getTimer

Function getTimer

src/yvalve/MasterImplementation.cpp:228–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228TimerEntry* getTimer(ITimer* timer)
229{
230 fb_assert(timerAccess->locked());
231
232 for (unsigned int i = 0; i < timerQueue->getCount(); ++i)
233 {
234 TimerEntry& e(timerQueue->operator[](i));
235 if (e.timer == timer)
236 {
237 return &e;
238 }
239 }
240
241 return NULL;
242}
243
244THREAD_ENTRY_DECLARE TimerEntry::timeThread(THREAD_ENTRY_PARAM)
245{

Callers 2

startMethod · 0.85
stopMethod · 0.85

Calls 4

eEnum · 0.50
lockedMethod · 0.45
getCountMethod · 0.45
operator[]Method · 0.45

Tested by

no test coverage detected