Class TracyGpuProfiler
java.lang.Object
com.mojang.renderpearl.frontend.TracyGpuProfiler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longprivate final com.mojang.jtracy.GpuContextprivate final FrontendGpuDeviceprivate intprivate longprivate static final intprivate final doubleprivate final GpuQueryPoolprivate intprivate static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidendFrame()private intvoidpopZone(CommandEncoder encoder) voidpushZone(CommandEncoder encoder, String name)
-
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
-
context
private final com.mojang.jtracy.GpuContext context -
head
private int head -
tail
private int tail -
period
private final double period -
device
-
calibrationOffset
private long calibrationOffset -
lastCalibrationTime
private long lastCalibrationTime
-
-
Constructor Details
-
TracyGpuProfiler
-
-
Method Details
-
close
public void close() -
pushZone
-
popZone
-
endFrame
public void endFrame() -
nextQueryId
private int nextQueryId()
-