Class AggregatedTelemetryEvent
java.lang.Object
net.minecraft.client.telemetry.events.AggregatedTelemetryEvent
- Direct Known Subclasses:
 PerformanceMetricsEvent
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Instantprivate static final intprivate intprivate static final intprivate boolean - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected intabstract voidsendEvent(TelemetryEventSender p_263328_) booleanbooleanvoidstart()voidstop()abstract voidvoidtick(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
 
 -