#NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# super ( MainStatsTable , self ) . __init__ ( * args , ** kwargs ) #NEWLINE# iters_num = self . _workload_info [ 'iterations_count' ] #NEWLINE# for name in ( list ( self . _workload_info [ 'atomic' ] . keys ( ) ) + [ 'total' ] ) : #NEWLINE# #INDENT# self . _data [ kwargs ] = [ [ streaming . MinComputation ( ) , None ] , [ streaming . PercentileComputation ( 0.5 , iters_num ) , None ] , [ streaming . PercentileComputation ( 0.9 , iters_num ) , None ] , [ streaming . PercentileComputation ( 0.95 , iters_num ) , None ] , [ streaming . MaxComputation ( ) , None ] , [ streaming . MeanComputation ( ) , None ] , [ streaming . MeanComputation ( ) , ( lambda st , has_result : ( ( '%.1f%%' % ( st . result ( ) * 100 ) ) if has_result else 'n/a' ) ) ] , [ streaming . IncrementComputation ( ) , ( lambda st , has_result : st . result ( ) ) ] ]