static String durationInDurationUnitsAsStr(StringBuilder buf, StopWatch sw) {
        DurationUnit du = selectDurationUnitForDisplay(sw);
        return durationInDurationUnitsAsStr(sw.elapsedTime(), du);
    }
A collection of utility methods.

@author Ceki G&uuml;lc&uuml;
slf4j-ext/src/main/java/org/slf4j/profiler/Util.java