Class IterationScoresFormatter

  • All Implemented Interfaces:
    OutputFormat

    public class IterationScoresFormatter
    extends java.lang.Object
    implements OutputFormat
    • Field Detail

      • pw

        private final java.io.PrintWriter pw
    • Constructor Detail

      • IterationScoresFormatter

        public IterationScoresFormatter​(java.io.PrintWriter pw)
    • Method Detail

      • iteration

        public void iteration​(BenchmarkParams benchParams,
                              IterationParams params,
                              int iteration)
        Description copied from interface: OutputFormat
        Format for iteration start.
        Specified by:
        iteration in interface OutputFormat
        Parameters:
        benchParams - benchmark parameters
        params - iteration params in use
        iteration - iteration-number
      • startBenchmark

        public void startBenchmark​(BenchmarkParams benchParams)
        Description copied from interface: OutputFormat
        Format for start-of-benchmark output.
        Specified by:
        startBenchmark in interface OutputFormat
        Parameters:
        benchParams - benchmark params
      • startRun

        public void startRun()
        Description copied from interface: OutputFormat
        Format for start-of-benchmark output.
        Specified by:
        startRun in interface OutputFormat
      • endRun

        public void endRun​(java.util.Collection<RunResult> result)
        Description copied from interface: OutputFormat
        Format for end-of-benchmark.
        Specified by:
        endRun in interface OutputFormat
        Parameters:
        result - benchmark results
      • print

        public void print​(java.lang.String s)
        Specified by:
        print in interface OutputFormat
      • println

        public void println​(java.lang.String s)
        Specified by:
        println in interface OutputFormat
      • write

        public void write​(int b)
        Specified by:
        write in interface OutputFormat
      • write

        public void write​(byte[] b)
                   throws java.io.IOException
        Specified by:
        write in interface OutputFormat
        Throws:
        java.io.IOException