Home | History | Annotate | Download | only in tests

Lines Matching refs:Timer

14 class Timer(object):
22 print("adding timer %f" % self.timeout)
24 self.timers.sort(key=lambda timer: timer.timeout)
30 timer = _class.timers[0]
31 if timer.timeout > clk:
35 print("fireing timer %f" % timer.timeout)
36 timer.callback(timer.data)
154 # Arm a timer to signal the fence in 0.5s.
159 Timer(0.5, timeline_signal, self.timeline)
221 timeout = Timer.next_timeout()
231 Timer.fire()