Package net.minecraft.util.profiling.jfr
Record Class JfrProfile
java.lang.Object
java.lang.Record
net.minecraft.util.profiling.jfr.JfrProfile
- Record Components:
- startTime-
- endTime-
- duration-
- worldGenDuration-
- serverTickTimeSamples-
- cpuLoadSamples-
- gcHeapSummaryStatistics-
- threadAllocationMap-
- packetReadStatistics-
- packetSentStatistics-
- fileWriteStatistics-
- fileReadStatistics-
- chunkGenerationSamples-
public record JfrProfile(Instant startTime, Instant endTime, Duration duration, @Nullable Duration worldGenDuration, List<ServerTickTimeSample> serverTickTimeSamples, List<CpuLoadSample> cpuLoadSamples, GcHeapSummarySample.Statistics gcHeapSummaryStatistics, ThreadAllocationStatisticsSample.AllocationMap threadAllocationMap, NetworkIoStatistics packetReadStatistics, NetworkIoStatistics packetSentStatistics, FileIoSample.Statistics fileWriteStatistics, FileIoSample.Statistics fileReadStatistics, List<ChunkGenerationSample> chunkGenerationSamples)
extends Record
- Mappings:
- Namespace - Name - official - bbc- intermediary - net/minecraft/class_6517- named - net/minecraft/util/profiling/jfr/JfrProfile- official - a- intermediary - comp_3- named - startTime- official - b- intermediary - comp_4- named - endTime- official - c- intermediary - comp_5- named - duration- official - d- intermediary - comp_6- named - worldGenDuration- official - e- intermediary - comp_7- named - serverTickTimeSamples- official - f- intermediary - comp_8- named - cpuLoadSamples- official - g- intermediary - comp_9- named - gcHeapSummaryStatistics- official - h- intermediary - comp_10- named - threadAllocationMap- official - i- intermediary - comp_11- named - packetReadStatistics- official - j- intermediary - comp_12- named - packetSentStatistics- official - k- intermediary - comp_13- named - fileWriteStatistics- official - l- intermediary - comp_14- named - fileReadStatistics- official - m- intermediary - comp_15- named - chunkGenerationSamples
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final List<ChunkGenerationSample>The field for thechunkGenerationSamplesrecord component.private final List<CpuLoadSample>The field for thecpuLoadSamplesrecord component.private final DurationThe field for thedurationrecord component.private final InstantThe field for theendTimerecord component.private final FileIoSample.StatisticsThe field for thefileReadStatisticsrecord component.private final FileIoSample.StatisticsThe field for thefileWriteStatisticsrecord component.private final GcHeapSummarySample.StatisticsThe field for thegcHeapSummaryStatisticsrecord component.private final NetworkIoStatisticsThe field for thepacketReadStatisticsrecord component.private final NetworkIoStatisticsThe field for thepacketSentStatisticsrecord component.private final List<ServerTickTimeSample>The field for theserverTickTimeSamplesrecord component.private final InstantThe field for thestartTimerecord component.private final ThreadAllocationStatisticsSample.AllocationMapThe field for thethreadAllocationMaprecord component.The field for theworldGenDurationrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionJfrProfile(Instant instant, Instant instant2, Duration duration, @Nullable Duration duration2, List<ServerTickTimeSample> list, List<CpuLoadSample> list2, GcHeapSummarySample.Statistics statistics, ThreadAllocationStatisticsSample.AllocationMap allocationMap, NetworkIoStatistics networkIoStatistics, NetworkIoStatistics networkIoStatistics2, FileIoSample.Statistics statistics2, FileIoSample.Statistics statistics3, List<ChunkGenerationSample> list3) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thechunkGenerationSamplesrecord component.Returns the value of thecpuLoadSamplesrecord component.duration()Returns the value of thedurationrecord component.endTime()Returns the value of theendTimerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefileReadStatisticsrecord component.Returns the value of thefileWriteStatisticsrecord component.Returns the value of thegcHeapSummaryStatisticsrecord component.List<com.mojang.datafixers.util.Pair<ChunkStatus,LongRunningSampleStatistics<ChunkGenerationSample>>> final inthashCode()Returns a hash code value for this object.Returns the value of thepacketReadStatisticsrecord component.Returns the value of thepacketSentStatisticsrecord component.Returns the value of theserverTickTimeSamplesrecord component.Returns the value of thestartTimerecord component.Returns the value of thethreadAllocationMaprecord component.toJson()final StringtoString()Returns a string representation of this record class.Returns the value of theworldGenDurationrecord component.
- 
Field Details- 
startTimeThe field for thestartTimerecord component.
- 
endTimeThe field for theendTimerecord component.
- 
durationThe field for thedurationrecord component.
- 
worldGenDurationThe field for theworldGenDurationrecord component.
- 
serverTickTimeSamplesThe field for theserverTickTimeSamplesrecord component.
- 
cpuLoadSamplesThe field for thecpuLoadSamplesrecord component.
- 
gcHeapSummaryStatisticsThe field for thegcHeapSummaryStatisticsrecord component.
- 
threadAllocationMapThe field for thethreadAllocationMaprecord component.
- 
packetReadStatisticsThe field for thepacketReadStatisticsrecord component.
- 
packetSentStatisticsThe field for thepacketSentStatisticsrecord component.
- 
fileWriteStatisticsThe field for thefileWriteStatisticsrecord component.
- 
fileReadStatisticsThe field for thefileReadStatisticsrecord component.
- 
chunkGenerationSamplesThe field for thechunkGenerationSamplesrecord component.
 
- 
- 
Constructor Details- 
JfrProfilepublic JfrProfile(Instant instant, Instant instant2, Duration duration, @Nullable @Nullable Duration duration2, List<ServerTickTimeSample> list, List<CpuLoadSample> list2, GcHeapSummarySample.Statistics statistics, ThreadAllocationStatisticsSample.AllocationMap allocationMap, NetworkIoStatistics networkIoStatistics, NetworkIoStatistics networkIoStatistics2, FileIoSample.Statistics statistics2, FileIoSample.Statistics statistics3, List<ChunkGenerationSample> list3) 
 
- 
- 
Method Details- 
getChunkGenerationSampleStatisticspublic List<com.mojang.datafixers.util.Pair<ChunkStatus,LongRunningSampleStatistics<ChunkGenerationSample>>> getChunkGenerationSampleStatistics()- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbbc;a()Ljava/util/List;- intermediary - method_38006- Lnet/minecraft/class_6517;method_38006()Ljava/util/List;- named - getChunkGenerationSampleStatistics- Lnet/minecraft/util/profiling/jfr/JfrProfile;getChunkGenerationSampleStatistics()Ljava/util/List;
 
- 
toJson- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbbc;b()Ljava/lang/String;- intermediary - method_38009- Lnet/minecraft/class_6517;method_38009()Ljava/lang/String;- named - toJson- Lnet/minecraft/util/profiling/jfr/JfrProfile;toJson()Ljava/lang/String;
 
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
startTimeReturns the value of thestartTimerecord component.- Returns:
- the value of the startTimerecord component
 
- 
endTimeReturns the value of theendTimerecord component.- Returns:
- the value of the endTimerecord component
 
- 
durationReturns the value of thedurationrecord component.- Returns:
- the value of the durationrecord component
 
- 
worldGenDurationReturns the value of theworldGenDurationrecord component.- Returns:
- the value of the worldGenDurationrecord component
 
- 
serverTickTimeSamplesReturns the value of theserverTickTimeSamplesrecord component.- Returns:
- the value of the serverTickTimeSamplesrecord component
 
- 
cpuLoadSamplesReturns the value of thecpuLoadSamplesrecord component.- Returns:
- the value of the cpuLoadSamplesrecord component
 
- 
gcHeapSummaryStatisticsReturns the value of thegcHeapSummaryStatisticsrecord component.- Returns:
- the value of the gcHeapSummaryStatisticsrecord component
 
- 
threadAllocationMapReturns the value of thethreadAllocationMaprecord component.- Returns:
- the value of the threadAllocationMaprecord component
 
- 
packetReadStatisticsReturns the value of thepacketReadStatisticsrecord component.- Returns:
- the value of the packetReadStatisticsrecord component
 
- 
packetSentStatisticsReturns the value of thepacketSentStatisticsrecord component.- Returns:
- the value of the packetSentStatisticsrecord component
 
- 
fileWriteStatisticsReturns the value of thefileWriteStatisticsrecord component.- Returns:
- the value of the fileWriteStatisticsrecord component
 
- 
fileReadStatisticsReturns the value of thefileReadStatisticsrecord component.- Returns:
- the value of the fileReadStatisticsrecord component
 
- 
chunkGenerationSamplesReturns the value of thechunkGenerationSamplesrecord component.- Returns:
- the value of the chunkGenerationSamplesrecord component
 
 
-