Package org.openjdk.jmh.results.format
Class ResultFormatFactory
java.lang.Object
org.openjdk.jmh.results.format.ResultFormatFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResultFormatgetInstance(ResultFormatType type, PrintStream out) Get the instance of ResultFormat of given type which write the result to out.static ResultFormatgetInstance(ResultFormatType type, String file) Get the instance of ResultFormat of given type which writes the result to file
-
Method Details
-
getInstance
Get the instance of ResultFormat of given type which writes the result to file- Parameters:
type- result format typefile- target file- Returns:
- result format
-
getInstance
Get the instance of ResultFormat of given type which write the result to out. It is a user responsibility to initialize and finish the out as appropriate.- Parameters:
type- result format typeout- target out- Returns:
- result format.
-