# For a given given test, we now have a set of results 'rset'
# to be aggregated
total_mb = reduce(operator.add, map(lambda x: x.mb, rset))
total_iops,mean_ms = reduce(op_wmean, map(lambda x: (x.iops,x.ms), rset))
global_min = min(map(lambda x: x.min, rset))
global_max = max(map(lambda x: x.max, rset))
# stats.stackexchange.com/q/21999/27767
_,mean_variance = reduce(op_wmean, map(
lambda x: (x.iops,x.std**2), rset
))
_,variance_means = reduce(op_wmean, map(