@Override
        public String toString() {
            return "Total: " + cumulativeDuration +
                    ", iterations: " + iterationCount +
                    ", average: " + getAverageDuration() +
                    ", min: " + minDuration +
                    ", max: " + maxDuration;
        }
Measures the time taken to perform resultSupplier if isTimed is true.
If isTimed is false returns a {@link TimedResult} containing a zero duration.
stroom-util/src/main/java/stroom/util/logging/DurationTimer.java