net.minecraft.client.gui.hud.debug

class MemoryDebugHudEntry$AllocationRateCalculator

net.minecraft.client.gui.components.debug.DebugEntryMemory$AllocationRateCalculator
net.minecraft.class_11618$class_7412
net.minecraft.client.gui.hud.debug.MemoryDebugHudEntry$AllocationRateCalculator

Field summary

Modifier and TypeField
private static final int
UPDATE_INTERVAL_MS
field_38986
INTERVAL
private static final List<GarbageCollectorMXBean>
GC_MBEANS
field_38987
GARBAGE_COLLECTORS
private long
lastTime
field_38988
lastCalculated
private long
lastHeapUsage
field_38989
allocatedBytes
private long
lastGcCounts
field_38990
collectionCount
private long
lastRate
field_38991
allocationRate

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
private long
bytesAllocatedPerSecond(long currentHeapUsage)
method_43448(long arg0)
get(long allocatedBytes)
private static long
gcCounts()
method_43447()
getCollectionCount()