Class TextReportFormat

    • Constructor Detail

      • TextReportFormat

        public TextReportFormat​(java.io.PrintStream out,
                                VerboseMode verbose)
    • Method Detail

      • startBenchmark

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

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

        protected static java.lang.String getThreadsString​(int t)
      • getGroupsString

        protected static java.lang.String getGroupsString​(int g)
      • iterationResult

        public void iterationResult​(BenchmarkParams benchmParams,
                                    IterationParams params,
                                    int iteration,
                                    IterationResult data)
        Description copied from interface: OutputFormat
        Format for end-of-iteration.
        Parameters:
        benchmParams - name of benchmark
        params - iteration params in use
        iteration - iteration-number
        data - result of iteration
      • endBenchmark

        public void endBenchmark​(BenchmarkResult result)
        Description copied from interface: OutputFormat
        Format for end-of-benchmark.
        Parameters:
        result - statistics of the run
      • startRun

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

        public void endRun​(java.util.Collection<RunResult> runResults)
        Description copied from interface: OutputFormat
        Format for end-of-benchmark.
        Parameters:
        runResults - benchmark results