Implemented response time calculation.