Search in sources :

Example 1 with ProfilingReporter

use of com.synopsys.integration.detect.workflow.report.ProfilingReporter in project synopsys-detect by blackducksoftware.

the class DiagnosticReportHandler method detectorsProfiled.

private void detectorsProfiled(DetectorTimings detectorTimings) {
    try {
        ReportWriter profileWriter = getReportWriter(ReportTypes.DETECTOR_PROFILE);
        ProfilingReporter reporter = new ProfilingReporter();
        reporter.writeReport(profileWriter, detectorTimings);
    } catch (Exception e) {
        logger.error("Failed to write profiling report.", e);
    }
}
Also used : ReportWriter(com.synopsys.integration.detect.workflow.report.writer.ReportWriter) FileReportWriter(com.synopsys.integration.detect.workflow.report.writer.FileReportWriter) InfoLogReportWriter(com.synopsys.integration.detect.workflow.report.writer.InfoLogReportWriter) ProfilingReporter(com.synopsys.integration.detect.workflow.report.ProfilingReporter)

Aggregations

ProfilingReporter (com.synopsys.integration.detect.workflow.report.ProfilingReporter)1 FileReportWriter (com.synopsys.integration.detect.workflow.report.writer.FileReportWriter)1 InfoLogReportWriter (com.synopsys.integration.detect.workflow.report.writer.InfoLogReportWriter)1 ReportWriter (com.synopsys.integration.detect.workflow.report.writer.ReportWriter)1