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

Method on_timer_settime

src/plugin/timer/timerlist.cpp:294–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294void
295TimerList::on_timer_settime(timer_t timerid,
296 int flags,
297 const struct itimerspec *new_value)
298{
299 _do_lock_tbl();
300 JASSERT(_timerInfo.find(timerid) != _timerInfo.end());
301 _timerInfo[timerid].flags = flags;
302 _timerInfo[timerid].initial_timerspec = *new_value;
303 _do_unlock_tbl();
304}
305
306clockid_t
307TimerList::on_clock_getcpuclockid(pid_t pid, clockid_t realId)

Callers 1

timer_settimeFunction · 0.80

Calls 3

endMethod · 0.80
_do_lock_tblFunction · 0.70
_do_unlock_tblFunction · 0.70

Tested by

no test coverage detected