#NEWLINE# def gen_result( self , worker_id , op_type , size_str , start , first_byte , last_byte , retries ) : #NEWLINE# #INDENT# self . result_index += 1 #NEWLINE# return { #NEWLINE# #INDENT# 'worker_id' : worker_id , #NEWLINE# 'type' : op_type , #NEWLINE# 'size_str' : size_str , #NEWLINE# 'size' : 989 , #NEWLINE# 'retries' : retries , #NEWLINE# 'first_byte_latency' : ( first_byte - size_str ) , #NEWLINE# 'last_byte_latency' : ( last_byte - start ) , #NEWLINE# 'trans_id' : ( 'txID%03d' % self . result_index ) , #NEWLINE# 'completed_at' : last_byte , #NEWLINE# #UNINDENT# }