prettify method

String prettify()

Returns a String representation of this containing avg, peak and bottom.

Implementation

String prettify() {
  return '\tpeak: ${Duration(microseconds: peak)}\tbottom: ${Duration(microseconds: bottom)}\tavg: ~${Duration(microseconds: avg.round())}';
}