Class AggregatedTelemetryEvent
java.lang.Object
net.minecraft.client.telemetry.events.AggregatedTelemetryEvent
- Direct Known Subclasses:
PerformanceMetricsEvent
-
Field Summary
Modifier and TypeFieldDescriptionprivate Instant
private static final int
private int
private static final int
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
abstract void
sendEvent
(TelemetryEventSender p_263328_) boolean
boolean
void
start()
void
stop()
abstract void
void
tick
(TelemetryEventSender p_263410_)
-
Field Details
-
SAMPLE_INTERVAL_MS
private static final int SAMPLE_INTERVAL_MS- See Also:
-
SAMPLES_PER_EVENT
private static final int SAMPLES_PER_EVENT- See Also:
-
sampleCount
private int sampleCount -
ticking
private boolean ticking -
lastSampleTime
-
-
Constructor Details
-
AggregatedTelemetryEvent
public AggregatedTelemetryEvent()
-
-
Method Details
-
start
public void start() -
tick
-
shouldTakeSample
public boolean shouldTakeSample() -
shouldSentEvent
public boolean shouldSentEvent() -
stop
public void stop() -
getSampleCount
protected int getSampleCount() -
takeSample
public abstract void takeSample() -
sendEvent
-