MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / getoverrun

Method getoverrun

src/plugin/timer/timerlist.cpp:245–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245int
246TimerList::getoverrun(timer_t id)
247{
248 _do_lock_tbl();
249 JASSERT(_timerInfo.find(id) != _timerInfo.end());
250 int ret = _timerInfo[id].overrun;
251 _timerInfo[id].overrun = 0;
252 _do_unlock_tbl();
253 return ret;
254}
255
256timer_t
257TimerList::on_timer_create(timer_t realId,

Callers 1

timer_getoverrunFunction · 0.80

Calls 3

endMethod · 0.80
_do_lock_tblFunction · 0.70
_do_unlock_tblFunction · 0.70

Tested by

no test coverage detected