Package net.minecraft.client
Class MinecraftGame.MinecraftPerformanceMetrics
java.lang.Object
net.minecraft.client.MinecraftGame.MinecraftPerformanceMetrics
- All Implemented Interfaces:
com.mojang.bridge.game.PerformanceMetrics
- Enclosing class:
- MinecraftGame
static class MinecraftGame.MinecraftPerformanceMetrics
extends Object
implements com.mojang.bridge.game.PerformanceMetrics
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMinecraftPerformanceMetrics
(int p_i51282_1_, int p_i51282_2_, int p_i51282_3_, int p_i51282_4_) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
-
Field Details
-
min
private final int min -
max
private final int max -
average
private final int average -
samples
private final int samples
-
-
Constructor Details
-
MinecraftPerformanceMetrics
public MinecraftPerformanceMetrics(int p_i51282_1_, int p_i51282_2_, int p_i51282_3_, int p_i51282_4_)
-
-
Method Details
-
getMinTime
public int getMinTime()- Specified by:
getMinTime
in interfacecom.mojang.bridge.game.PerformanceMetrics
-
getMaxTime
public int getMaxTime()- Specified by:
getMaxTime
in interfacecom.mojang.bridge.game.PerformanceMetrics
-
getAverageTime
public int getAverageTime()- Specified by:
getAverageTime
in interfacecom.mojang.bridge.game.PerformanceMetrics
-
getSampleCount
public int getSampleCount()- Specified by:
getSampleCount
in interfacecom.mojang.bridge.game.PerformanceMetrics
-