Class TimeRecorder
java.lang.Object
com.hypixel.hytale.common.benchmark.ContinuousValueRecorder
com.hypixel.hytale.common.benchmark.TimeRecorder
- Direct Known Subclasses:
TimeDistributionRecorder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final String[]static final doubleFields inherited from class com.hypixel.hytale.common.benchmark.ContinuousValueRecorder
count, maxValue, minValue, sumValues -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleend(long start) protected static StringvoidformatHeader(Formatter formatter) voidformatHeader(Formatter formatter, String columnFormatHeader) static StringformatTime(double secs) voidformatValues(Formatter formatter) voidformatValues(Formatter formatter, String columnFormatValue) doublerecordNanos(long nanos) longstart()toString()Methods inherited from class com.hypixel.hytale.common.benchmark.ContinuousValueRecorder
getAverage, getAverage, getCount, getMaxValue, getMaxValue, getMinValue, getMinValue, record, reset
-
Field Details
-
DEFAULT_COLUMN_SEPARATOR
- See Also:
-
DEFAULT_COLUMN_FORMAT_HEADER
- See Also:
-
DEFAULT_COLUMN_FORMAT_VALUE
- See Also:
-
DEFAULT_COLUMNS
-
NANOS_TO_SECONDS
public static final double NANOS_TO_SECONDS- See Also:
-
-
Constructor Details
-
TimeRecorder
public TimeRecorder()
-
-
Method Details