MCPcopy Create free account
hub / github.com/Icinga/icinga2 / SetInterval

Method SetInterval

lib/base/timer.cpp:143–147  ·  view source on GitHub ↗

* Sets the interval for this timer. * * @param interval The new interval. */

Source from the content-addressed store, hash-verified

141 * @param interval The new interval.
142 */
143void Timer::SetInterval(double interval)
144{
145 std::unique_lock<std::mutex> lock(l_TimerMutex);
146 m_Interval = interval;
147}
148
149/**
150 * Retrieves the interval for this timer.

Callers 15

StartMethod · 0.80
EnsureFrameCleanupTimerFunction · 0.80
StartMethod · 0.80
ResumeMethod · 0.80
ResumeMethod · 0.80
ResumeMethod · 0.80
ResumeMethod · 0.80
ResumeMethod · 0.80
ResumeMethod · 0.80
ResumeMethod · 0.80
ResumeMethod · 0.80
StartMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected