private static void useTotal(final List<Test> list) { final Monitor mon = MonitorFactory.start("Total+Loop"); final Total total = new Total(); for (final Test t : list) { total.add(t.getValue()); } mon.stop(); System.out.printf("%10.0f in %13s %5.1f Avg:%5.1f Min:%5.1f Max:%5.1f %n", total.getTotal(), mon.getLabel(), mon.getLastValue(), mon.getAvg(), mon.getMin(), mon.getMax()); }