Class DebugScreenOverlay.AllocationRateCalculator
java.lang.Object
net.minecraft.client.gui.components.DebugScreenOverlay.AllocationRateCalculator
- Enclosing class:
- DebugScreenOverlay
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final List<GarbageCollectorMXBean>
private long
private long
private long
private long
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) long
bytesAllocatedPerSecond
(long p_232517_) private static long
gcCounts()
-
Field Details
-
UPDATE_INTERVAL_MS
private static final int UPDATE_INTERVAL_MS- See Also:
-
GC_MBEANS
-
lastTime
private long lastTime -
lastHeapUsage
private long lastHeapUsage -
lastGcCounts
private long lastGcCounts -
lastRate
private long lastRate
-
-
Constructor Details
-
AllocationRateCalculator
AllocationRateCalculator()
-
-
Method Details
-
bytesAllocatedPerSecond
long bytesAllocatedPerSecond(long p_232517_) -
gcCounts
private static long gcCounts()
-