Implement real timer functions