Skip to content

TimeDistributionRecorder

Package: com.hypixel.hytale.common.benchmark

public class TimeDistributionRecorder extends TimeRecorder

Concrete implementation extending TimeRecorder.

FieldTypeDescription
minLogRangeintint field.
maxLogRangeintint field.
logStepsintint field.
valueBinslong[]long[] field.
ConstructorDescription
TimeDistributionRecorder(double maxSecs, double minSecs, int logSteps)Creates a new TimeDistributionRecorder instance.
TimeDistributionRecorder(double maxSecs, double minSecs)Creates a new TimeDistributionRecorder instance.
TimeDistributionRecorder()Creates a new TimeDistributionRecorder instance.
MethodReturn TypeDescription
reset()voidpublic method.
recordNanos(long nanos)doublepublic method.
timeToIndex(double secs)intpublic method.
indexToTime(int index)doublepublic method.
size()intpublic method.
get(int index)longpublic method.
toString()Stringpublic method.
formatHeader(@Nonnull Formatter formatter, @Nonnull String columnFormatHeader)voidpublic method.
formatValues(@Nonnull Formatter formatter, @Nonnull String columnFormatValue)voidpublic method.
formatValues(@Nonnull Formatter formatter, long normalValue)voidpublic method.
formatValues(@Nonnull Formatter formatter, long normalValue, @Nonnull String columnFormatValue)voidpublic method.
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.