[core][timer] Correct timer functions.