TimeDistributionRecorder
Package: com.hypixel.hytale.common.benchmark
public class TimeDistributionRecorder extends TimeRecorderConcrete implementation extending TimeRecorder.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
minLogRange | int | int field. |
maxLogRange | int | int field. |
logSteps | int | int field. |
valueBins | long[] | long[] field. |
Constructors
Section titled “Constructors”| Constructor | Description |
|---|---|
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. |
Methods
Section titled “Methods”| Method | Return Type | Description |
|---|---|---|
reset() | void | public method. |
recordNanos(long nanos) | double | public method. |
timeToIndex(double secs) | int | public method. |
indexToTime(int index) | double | public method. |
size() | int | public method. |
get(int index) | long | public method. |
toString() | String | public method. |
formatHeader(@Nonnull Formatter formatter, @Nonnull String columnFormatHeader) | void | public method. |
formatValues(@Nonnull Formatter formatter, @Nonnull String columnFormatValue) | void | public method. |
formatValues(@Nonnull Formatter formatter, long normalValue) | void | public method. |
formatValues(@Nonnull Formatter formatter, long normalValue, @Nonnull String columnFormatValue) | void | public method. |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.