private void DoTimer(ref Int64 startTick) { Int64 currentTick = DateTime.Now.Ticks; if (currentTick - startTick < MinimumIntervalTick) { return; } startTick = currentTick; TimerJob timer = JobScheduler.PopTimer(); if (timer == null) { return; } timer.OnTick(DateTime.Now.Ticks); if (timer.Finished == false) { JobScheduler.AddTimer(timer); } }