#NEWLINE# def TotalTransferred( self , throttle_name ) : #NEWLINE# #INDENT# 'Return the total transferred, and over what period.\n\n    Args:\n      throttle_name: The name of the throttle to total.\n\n    Returns:\n      A tuple of the total count and running time for the given throttle name.\n    ' #NEWLINE# total = 0 #NEWLINE# for count in self . totals [ throttle_name ] . values ( ) : #NEWLINE# #INDENT# total += count #NEWLINE# #UNINDENT# for count in self . transferred [ throttle_name ] . values ( ) : #NEWLINE# #INDENT# total += count #NEWLINE# #UNINDENT# return ( total , ( self . get_time ( ) - self . start_time ) )