def Summary(urlstats):
 summary = RequestSummary()
 for request in reversed(urlstats.urlrequestlist):
  summary.timestamps.append(request.timestamp)
  summary.totaltimes.append(request.totalresponsetime)
  summary.totalrpctimes.append(request.totalrpctime)
 return summary

def Summary ( urlstats ) : summary = RequestSummary ( ) for request in reversed ( urlstats . urlrequestlist ) : summary . timestamps . append ( request . timestamp ) summary . totaltimes . append ( request . totalresponsetime ) summary . totalrpctimes . append ( request . totalrpctime ) return summary
summarize relevant statistics for requests .