Fix a small bug for rt-time analysis.