rstp: Simplify record_times() function.