Implement SDL2 timer functions