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