30 {
32 bool tick = (current_time >= tickTime);
33 #ifdef DIAG_NOTIFIER_LOGS
34 ErrorEx(
string.Format(
"Tick time for notifier %1 is %2 | Current time= %3.",
this, tickTime, current_time),
ErrorExSeverity.INFO);
35 if (tick)
36 {
39 float drift = (current_time - tickTime) * 0.001;
40 ErrorEx(
string.Format(
"Notifier %1 updated after %2s (expected: %3s, drift: +%4s)",
this, timePassed, expectedInterval, drift),
ErrorExSeverity.INFO);
41 }
42 #endif
43 return tick;
44 }
int m_TickIntervalLastTick