Package org.openjdk.jmh.util
Class ScoreFormatter
- java.lang.Object
-
- org.openjdk.jmh.util.ScoreFormatter
-
public class ScoreFormatter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ScoreFormatter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
format(double score)
static java.lang.String
format(int width, double score)
static java.lang.String
formatError(double error)
static java.lang.String
formatError(int width, double error)
static java.lang.String
formatExact(int width, double score)
static java.lang.String
formatLatex(double score)
static boolean
isApproximate(double score)
static java.lang.String
superscript(java.lang.String str)
-
-
-
Method Detail
-
isApproximate
public static boolean isApproximate(double score)
-
format
public static java.lang.String format(double score)
-
format
public static java.lang.String format(int width, double score)
-
formatExact
public static java.lang.String formatExact(int width, double score)
-
formatLatex
public static java.lang.String formatLatex(double score)
-
formatError
public static java.lang.String formatError(double error)
-
formatError
public static java.lang.String formatError(int width, double error)
-
superscript
public static java.lang.String superscript(java.lang.String str)
-
-