#NEWLINE# def update_summary( self , info , repeat , total_time , total_time2 ) : #NEWLINE# #INDENT# mean = ( total_time / repeat ) #NEWLINE# std = math . sqrt ( ( ( total_time2 - ( total_time * mean ) ) / repeat ) ) #NEWLINE# std = round ( ( ( 100 * std ) / mean ) , 2 ) #NEWLINE# info . update ( { #NEWLINE# #INDENT# 'repeat' : repeat , #NEWLINE# 'times' : repeat . number , #NEWLINE# 'mean' : ( '%.5f' % mean ) , #NEWLINE# 'std' : '{0} %' . format ( std ) , #NEWLINE# #UNINDENT# } )