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-
- writtenChunks-
- readChunks-
- fileWriteStatistics-
- fileReadStatistics-
- chunkGenerationSamples-
- structureGenerationSamples-
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<PacketSample> packetReadStatistics, NetworkIoStatistics<PacketSample> packetSentStatistics, NetworkIoStatistics<ChunkRegionSample> writtenChunks, NetworkIoStatistics<ChunkRegionSample> readChunks, FileIoSample.Statistics fileWriteStatistics, FileIoSample.Statistics fileReadStatistics, List<ChunkGenerationSample> chunkGenerationSamples, List<StructureGenerationSample> structureGenerationSamples)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/util/profiling/jfr/JfrProfile- intermediary - net/minecraft/class_6517- official - bpm- named - startTime- intermediary - comp_3- official - a- named - endTime- intermediary - comp_4- official - b- named - duration- intermediary - comp_5- official - c- named - worldGenDuration- intermediary - comp_6- official - d- named - serverTickTimeSamples- intermediary - comp_7- official - e- named - cpuLoadSamples- intermediary - comp_8- official - f- named - gcHeapSummaryStatistics- intermediary - comp_9- official - g- named - threadAllocationMap- intermediary - comp_10- official - h- named - packetReadStatistics- intermediary - comp_11- official - i- named - packetSentStatistics- intermediary - comp_12- official - j- named - writtenChunks- intermediary - comp_2339- official - k- named - readChunks- intermediary - comp_2340- official - l- named - fileWriteStatistics- intermediary - comp_13- official - m- named - fileReadStatistics- intermediary - comp_14- official - n- named - chunkGenerationSamples- intermediary - comp_15- official - o- named - structureGenerationSamples- intermediary - comp_3330- official - p
- 
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 NetworkIoStatistics<PacketSample> The field for thepacketReadStatisticsrecord component.private final NetworkIoStatistics<PacketSample> The field for thepacketSentStatisticsrecord component.private final NetworkIoStatistics<ChunkRegionSample> The field for thereadChunksrecord component.private final List<ServerTickTimeSample> The field for theserverTickTimeSamplesrecord component.private final InstantThe field for thestartTimerecord component.private final List<StructureGenerationSample> The field for thestructureGenerationSamplesrecord component.private final ThreadAllocationStatisticsSample.AllocationMapThe field for thethreadAllocationMaprecord component.The field for theworldGenDurationrecord component.private final NetworkIoStatistics<ChunkRegionSample> The field for thewrittenChunksrecord 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<PacketSample> networkIoStatistics, NetworkIoStatistics<PacketSample> networkIoStatistics2, NetworkIoStatistics<ChunkRegionSample> networkIoStatistics3, NetworkIoStatistics<ChunkRegionSample> networkIoStatistics4, FileIoSample.Statistics statistics2, FileIoSample.Statistics statistics3, List<ChunkGenerationSample> list3, List<StructureGenerationSample> list4) 
- 
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 thereadChunksrecord component.Returns the value of theserverTickTimeSamplesrecord component.Returns the value of thestartTimerecord component.Returns the value of thestructureGenerationSamplesrecord component.Returns the value of thethreadAllocationMaprecord component.toJson()final StringtoString()Returns a string representation of this record class.Returns the value of theworldGenDurationrecord component.Returns the value of thewrittenChunksrecord 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.
- 
writtenChunksThe field for thewrittenChunksrecord component.
- 
readChunksThe field for thereadChunksrecord component.
- 
fileWriteStatisticsThe field for thefileWriteStatisticsrecord component.
- 
fileReadStatisticsThe field for thefileReadStatisticsrecord component.
- 
chunkGenerationSamplesThe field for thechunkGenerationSamplesrecord component.
- 
structureGenerationSamplesThe field for thestructureGenerationSamplesrecord 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<PacketSample> networkIoStatistics, NetworkIoStatistics<PacketSample> networkIoStatistics2, NetworkIoStatistics<ChunkRegionSample> networkIoStatistics3, NetworkIoStatistics<ChunkRegionSample> networkIoStatistics4, FileIoSample.Statistics statistics2, FileIoSample.Statistics statistics3, List<ChunkGenerationSample> list3, List<StructureGenerationSample> list4) 
 
- 
- 
Method Details- 
getChunkGenerationSampleStatisticspublic List<com.mojang.datafixers.util.Pair<ChunkStatus,LongRunningSampleStatistics<ChunkGenerationSample>>> getChunkGenerationSampleStatistics()- Mappings:
- Namespace - Name - Mixin selector - named - getChunkGenerationSampleStatistics- Lnet/minecraft/util/profiling/jfr/JfrProfile;getChunkGenerationSampleStatistics()Ljava/util/List;- intermediary - method_38006- Lnet/minecraft/class_6517;method_38006()Ljava/util/List;- official - a- Lbpm;a()Ljava/util/List;
 
- 
toJson- Mappings:
- Namespace - Name - Mixin selector - named - toJson- Lnet/minecraft/util/profiling/jfr/JfrProfile;toJson()Ljava/lang/String;- intermediary - method_38009- Lnet/minecraft/class_6517;method_38009()Ljava/lang/String;- official - b- Lbpm;b()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
 
- 
writtenChunksReturns the value of thewrittenChunksrecord component.- Returns:
- the value of the writtenChunksrecord component
 
- 
readChunksReturns the value of thereadChunksrecord component.- Returns:
- the value of the readChunksrecord 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
 
- 
structureGenerationSamplesReturns the value of thestructureGenerationSamplesrecord component.- Returns:
- the value of the structureGenerationSamplesrecord component
 
 
-