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-
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)
extends Record
- Mappings:
Namespace Name named net/minecraft/util/profiling/jfr/JfrProfileintermediary net/minecraft/class_6517official bnvnamed startTimeintermediary comp_3official anamed endTimeintermediary comp_4official bnamed durationintermediary comp_5official cnamed worldGenDurationintermediary comp_6official dnamed serverTickTimeSamplesintermediary comp_7official enamed cpuLoadSamplesintermediary comp_8official fnamed gcHeapSummaryStatisticsintermediary comp_9official gnamed threadAllocationMapintermediary comp_10official hnamed packetReadStatisticsintermediary comp_11official inamed packetSentStatisticsintermediary comp_12official jnamed writtenChunksintermediary comp_2339official knamed readChunksintermediary comp_2340official lnamed fileWriteStatisticsintermediary comp_13official mnamed fileReadStatisticsintermediary comp_14official nnamed chunkGenerationSamplesintermediary comp_15official o
-
Field Summary
FieldsModifier 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 ThreadAllocationStatisticsSample.AllocationMapThe field for thethreadAllocationMaprecord component.The field for theworldGenDurationrecord component.private final NetworkIoStatistics<ChunkRegionSample> The field for thewrittenChunksrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionJfrProfile(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) -
Method Summary
Modifier 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 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
-
startTime
The field for thestartTimerecord component. -
endTime
The field for theendTimerecord component. -
duration
The field for thedurationrecord component. -
worldGenDuration
The field for theworldGenDurationrecord component. -
serverTickTimeSamples
The field for theserverTickTimeSamplesrecord component. -
cpuLoadSamples
The field for thecpuLoadSamplesrecord component. -
gcHeapSummaryStatistics
The field for thegcHeapSummaryStatisticsrecord component. -
threadAllocationMap
The field for thethreadAllocationMaprecord component. -
packetReadStatistics
The field for thepacketReadStatisticsrecord component. -
packetSentStatistics
The field for thepacketSentStatisticsrecord component. -
writtenChunks
The field for thewrittenChunksrecord component. -
readChunks
The field for thereadChunksrecord component. -
fileWriteStatistics
The field for thefileWriteStatisticsrecord component. -
fileReadStatistics
The field for thefileReadStatisticsrecord component. -
chunkGenerationSamples
The field for thechunkGenerationSamplesrecord component.
-
-
Constructor Details
-
JfrProfile
public 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)
-
-
Method Details
-
getChunkGenerationSampleStatistics
public List<com.mojang.datafixers.util.Pair<ChunkStatus,LongRunningSampleStatistics<ChunkGenerationSample>>> getChunkGenerationSampleStatistics()- Mappings:
Namespace Name Mixin selector named getChunkGenerationSampleStatisticsLnet/minecraft/util/profiling/jfr/JfrProfile;getChunkGenerationSampleStatistics()Ljava/util/List;intermediary method_38006Lnet/minecraft/class_6517;method_38006()Ljava/util/List;official aLbnv;a()Ljava/util/List;
-
toJson
- Mappings:
Namespace Name Mixin selector named toJsonLnet/minecraft/util/profiling/jfr/JfrProfile;toJson()Ljava/lang/String;intermediary method_38009Lnet/minecraft/class_6517;method_38009()Ljava/lang/String;official bLbnv;b()Ljava/lang/String;
-
toString
Returns 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. -
hashCode
public 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. -
equals
Indicates 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). -
startTime
Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
endTime
Returns the value of theendTimerecord component.- Returns:
- the value of the
endTimerecord component
-
duration
Returns the value of thedurationrecord component.- Returns:
- the value of the
durationrecord component
-
worldGenDuration
Returns the value of theworldGenDurationrecord component.- Returns:
- the value of the
worldGenDurationrecord component
-
serverTickTimeSamples
Returns the value of theserverTickTimeSamplesrecord component.- Returns:
- the value of the
serverTickTimeSamplesrecord component
-
cpuLoadSamples
Returns the value of thecpuLoadSamplesrecord component.- Returns:
- the value of the
cpuLoadSamplesrecord component
-
gcHeapSummaryStatistics
Returns the value of thegcHeapSummaryStatisticsrecord component.- Returns:
- the value of the
gcHeapSummaryStatisticsrecord component
-
threadAllocationMap
Returns the value of thethreadAllocationMaprecord component.- Returns:
- the value of the
threadAllocationMaprecord component
-
packetReadStatistics
Returns the value of thepacketReadStatisticsrecord component.- Returns:
- the value of the
packetReadStatisticsrecord component
-
packetSentStatistics
Returns the value of thepacketSentStatisticsrecord component.- Returns:
- the value of the
packetSentStatisticsrecord component
-
writtenChunks
Returns the value of thewrittenChunksrecord component.- Returns:
- the value of the
writtenChunksrecord component
-
readChunks
Returns the value of thereadChunksrecord component.- Returns:
- the value of the
readChunksrecord component
-
fileWriteStatistics
Returns the value of thefileWriteStatisticsrecord component.- Returns:
- the value of the
fileWriteStatisticsrecord component
-
fileReadStatistics
Returns the value of thefileReadStatisticsrecord component.- Returns:
- the value of the
fileReadStatisticsrecord component
-
chunkGenerationSamples
Returns the value of thechunkGenerationSamplesrecord component.- Returns:
- the value of the
chunkGenerationSamplesrecord component
-