Class DebugScreenOverlay.AllocationRateCalculator

java.lang.Object
net.minecraft.client.gui.components.DebugScreenOverlay.AllocationRateCalculator
Enclosing class:
DebugScreenOverlay

static class DebugScreenOverlay.AllocationRateCalculator extends Object
  • Field Details

    • UPDATE_INTERVAL_MS

      private static final int UPDATE_INTERVAL_MS
      See Also:
    • GC_MBEANS

      private static final List<GarbageCollectorMXBean> 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()