Home | History | Annotate | Download | only in platform

Lines Matching defs:timer

32 #include "platform/Timer.h"
51 static MainThreadSharedTimer* timer = new MainThreadSharedTimer;
52 return timer;
94 // No need to restart the timer if both the pending fire time and the new fire time are in the past.
125 TimerBase& timer = *m_timerHeap.first();
126 timer.m_nextFireTime = 0;
127 timer.m_unalignedNextFireTime = 0;
128 timer.heapDeleteMin();
130 double interval = timer.repeatInterval();
131 timer.setNextFireTime(interval ? fireTime + interval : 0);
134 "src_file", timer.location().fileName(),
135 "src_func", timer.location().functionName());
137 // Once the timer has been fired, it may be deleted, so do nothing else with it after this point.
138 timer.fired();
140 // Catch the case where the timer asked timers to fire in a nested event loop, or we are over time limit.