Package org.openjdk.jmh.runner.format
Class SilentFormat
- java.lang.Object
-
- org.openjdk.jmh.runner.format.AbstractOutputFormat
-
- org.openjdk.jmh.runner.format.SilentFormat
-
- All Implemented Interfaces:
OutputFormat
class SilentFormat extends AbstractOutputFormat
Silent format, does nothing.
-
-
Field Summary
-
Fields inherited from class org.openjdk.jmh.runner.format.AbstractOutputFormat
out, verbose
-
-
Constructor Summary
Constructors Constructor Description SilentFormat(java.io.PrintStream out, VerboseMode verbose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endBenchmark(BenchmarkResult result)
Format for end-of-benchmark.void
endRun(java.util.Collection<RunResult> results)
Format for end-of-benchmark.void
iteration(BenchmarkParams benchmarkParams, IterationParams params, int iteration)
Format for iteration start.void
iterationResult(BenchmarkParams benchmarkParams, IterationParams params, int iteration, IterationResult data)
Format for end-of-iteration.void
print(java.lang.String s)
void
println(java.lang.String s)
void
startBenchmark(BenchmarkParams benchmarkParams)
Format for start-of-benchmark output.void
startRun()
Format for start-of-benchmark output.void
verbosePrintln(java.lang.String s)
-
Methods inherited from class org.openjdk.jmh.runner.format.AbstractOutputFormat
close, flush, write, write
-
-
-
-
Constructor Detail
-
SilentFormat
public SilentFormat(java.io.PrintStream out, VerboseMode verbose)
-
-
Method Detail
-
startRun
public void startRun()
Description copied from interface:OutputFormat
Format for start-of-benchmark output.
-
endRun
public void endRun(java.util.Collection<RunResult> results)
Description copied from interface:OutputFormat
Format for end-of-benchmark.- Parameters:
results
- benchmark results
-
startBenchmark
public void startBenchmark(BenchmarkParams benchmarkParams)
Description copied from interface:OutputFormat
Format for start-of-benchmark output.- Parameters:
benchmarkParams
- benchmark params
-
endBenchmark
public void endBenchmark(BenchmarkResult result)
Description copied from interface:OutputFormat
Format for end-of-benchmark.- Parameters:
result
- statistics of the run
-
iteration
public void iteration(BenchmarkParams benchmarkParams, IterationParams params, int iteration)
Description copied from interface:OutputFormat
Format for iteration start.- Parameters:
benchmarkParams
- benchmark parametersparams
- iteration params in useiteration
- iteration-number
-
iterationResult
public void iterationResult(BenchmarkParams benchmarkParams, IterationParams params, int iteration, IterationResult data)
Description copied from interface:OutputFormat
Format for end-of-iteration.- Parameters:
benchmarkParams
- name of benchmarkparams
- iteration params in useiteration
- iteration-numberdata
- result of iteration
-
print
public void print(java.lang.String s)
- Specified by:
print
in interfaceOutputFormat
- Overrides:
print
in classAbstractOutputFormat
-
println
public void println(java.lang.String s)
- Specified by:
println
in interfaceOutputFormat
- Overrides:
println
in classAbstractOutputFormat
-
verbosePrintln
public void verbosePrintln(java.lang.String s)
- Specified by:
verbosePrintln
in interfaceOutputFormat
- Overrides:
verbosePrintln
in classAbstractOutputFormat
-
-