@Environment(value=CLIENT) static class MinecraftClientGame.PerformanceMetricsImpl extends Object implements com.mojang.bridge.game.PerformanceMetrics
Modifier and Type | Field and Description |
---|---|
private int |
averageTime |
private int |
maxTime |
private int |
minTime |
private int |
sampleCount |
Constructor and Description |
---|
PerformanceMetricsImpl(int minTime,
int maxTime,
int averageTime,
int sampleCount) |
Modifier and Type | Method and Description |
---|---|
int |
getAverageTime() |
int |
getMaxTime() |
int |
getMinTime() |
int |
getSampleCount() |
private final int minTime
private final int maxTime
private final int averageTime
private final int sampleCount
public PerformanceMetricsImpl(int minTime, int maxTime, int averageTime, int sampleCount)
public int getMinTime()
getMinTime
in interface com.mojang.bridge.game.PerformanceMetrics
public int getMaxTime()
getMaxTime
in interface com.mojang.bridge.game.PerformanceMetrics
public int getAverageTime()
getAverageTime
in interface com.mojang.bridge.game.PerformanceMetrics
public int getSampleCount()
getSampleCount
in interface com.mojang.bridge.game.PerformanceMetrics