Class PerformanceMetricsEvent
java.lang.Object
net.minecraft.client.telemetry.events.AggregatedTelemetryEvent
net.minecraft.client.telemetry.events.PerformanceMetricsEvent
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final long
private final it.unimi.dsi.fastutil.longs.LongList
private final it.unimi.dsi.fastutil.longs.LongList
private final it.unimi.dsi.fastutil.longs.LongList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
sendEvent
(TelemetryEventSender p_261872_) void
private void
void
tick
(TelemetryEventSender p_263321_) private static long
toKilobytes
(long p_261471_) Methods inherited from class net.minecraft.client.telemetry.events.AggregatedTelemetryEvent
getSampleCount, shouldSentEvent, shouldTakeSample, start, stop
-
Field Details
-
DEDICATED_MEMORY_KB
private static final long DEDICATED_MEMORY_KB -
fpsSamples
private final it.unimi.dsi.fastutil.longs.LongList fpsSamples -
frameTimeSamples
private final it.unimi.dsi.fastutil.longs.LongList frameTimeSamples -
usedMemorySamples
private final it.unimi.dsi.fastutil.longs.LongList usedMemorySamples
-
-
Constructor Details
-
PerformanceMetricsEvent
public PerformanceMetricsEvent()
-
-
Method Details
-
tick
- Overrides:
tick
in classAggregatedTelemetryEvent
-
resetValues
private void resetValues() -
takeSample
public void takeSample()- Specified by:
takeSample
in classAggregatedTelemetryEvent
-
takeUsedMemorySample
private void takeUsedMemorySample() -
sendEvent
- Specified by:
sendEvent
in classAggregatedTelemetryEvent
-
toKilobytes
private static long toKilobytes(long p_261471_)
-