public void logSummary(PrintWriter printer)
public void logSummary()
    public void logSummary(PrintWriter printer)    {        if (printer instanceof AbstractTablePrinter) {            printer.print(componentStat.values());        } else {            Iterator it = componentStat.values().iterator();            while (it.hasNext()) {                printer.print(it.next());            }        }        // printer.println("-----------------------------");        // printer.println("duration (ms): " + (System.currentTimeMillis() -        // startTime));    }