Class TracyGpuProfiler

java.lang.Object
com.mojang.renderpearl.frontend.TracyGpuProfiler

public class TracyGpuProfiler extends Object
  • Field Details

    • MAX_QUERIES

      private static final int MAX_QUERIES
      See Also:
    • TIME_BETWEEN_CALIBRATION

      private static final long TIME_BETWEEN_CALIBRATION
      See Also:
    • queries

      private final GpuQueryPool queries
    • context

      private final com.mojang.jtracy.GpuContext context
    • tail

      private int tail
    • period

      private final double period
    • device

      private final FrontendGpuDevice device
    • calibrationOffset

      private long calibrationOffset
    • lastCalibrationTime

      private long lastCalibrationTime
  • Constructor Details

  • Method Details

    • close

      public void close()
    • pushZone

      public void pushZone(CommandEncoder encoder, String name)
    • popZone

      public void popZone(CommandEncoder encoder)
    • endFrame

      public void endFrame()
    • nextQueryId

      private int nextQueryId()