public class IterationScoresFormatter extends Object implements OutputFormat
| Constructor and Description |
|---|
IterationScoresFormatter(PrintWriter pw) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
endBenchmark(BenchmarkResult result)
Format for end-of-benchmark.
|
void |
endRun(Collection<RunResult> result)
Format for end-of-benchmark.
|
void |
flush() |
void |
iteration(BenchmarkParams benchParams,
IterationParams params,
int iteration)
Format for iteration start.
|
void |
iterationResult(BenchmarkParams benchParams,
IterationParams params,
int iteration,
IterationResult data)
Format for end-of-iteration.
|
void |
print(String s) |
void |
println(String s) |
void |
startBenchmark(BenchmarkParams benchParams)
Format for start-of-benchmark output.
|
void |
startRun()
Format for start-of-benchmark output.
|
void |
verbosePrintln(String s) |
void |
write(byte[] b) |
void |
write(int b) |
public IterationScoresFormatter(PrintWriter pw)
public void iteration(BenchmarkParams benchParams, IterationParams params, int iteration)
OutputFormatiteration in interface OutputFormatbenchParams - benchmark parametersparams - iteration params in useiteration - iteration-numberpublic void iterationResult(BenchmarkParams benchParams, IterationParams params, int iteration, IterationResult data)
OutputFormatiterationResult in interface OutputFormatbenchParams - name of benchmarkparams - iteration params in useiteration - iteration-numberdata - result of iterationpublic void startBenchmark(BenchmarkParams benchParams)
OutputFormatstartBenchmark in interface OutputFormatbenchParams - benchmark paramspublic void endBenchmark(BenchmarkResult result)
OutputFormatendBenchmark in interface OutputFormatresult - statistics of the runpublic void startRun()
OutputFormatstartRun in interface OutputFormatpublic void endRun(Collection<RunResult> result)
OutputFormatendRun in interface OutputFormatresult - benchmark resultspublic void print(String s)
print in interface OutputFormatpublic void println(String s)
println in interface OutputFormatpublic void flush()
flush in interface OutputFormatpublic void close()
close in interface OutputFormatpublic void verbosePrintln(String s)
verbosePrintln in interface OutputFormatpublic void write(int b)
write in interface OutputFormatpublic void write(byte[] b)
throws IOException
write in interface OutputFormatIOExceptionCopyright © 2016. All rights reserved.