'Display statistics to stdout:
- best time (minimum)
- average time (arithmetic average)
- worst time (maximum)
- total time (sum)
Use arithmetic avertage instead of geometric average because
geometric fails if any value is zero (returns zero) and also
because floating point multiplication lose precision with many
values.'

def displayStat(self, stat):

    average = (stat.getSum() / len(stat))
    values = (stat.getMin(), average, stat.getMax(), stat.getSum())
    values = tuple((self.formatTime(value) for value in values))
    print (_('Benchmark:    best=%s        average=%s        worst=%s        total=%s') % values)
