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/JfrProfile
intermediary net/minecraft/class_6517
official bnu
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
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<ChunkGenerationSample> The field for thechunkGenerationSamples
record component.private final List
<CpuLoadSample> The field for thecpuLoadSamples
record component.private final Duration
The field for theduration
record component.private final Instant
The field for theendTime
record component.private final FileIoSample.Statistics
The field for thefileReadStatistics
record component.private final FileIoSample.Statistics
The field for thefileWriteStatistics
record component.private final GcHeapSummarySample.Statistics
The field for thegcHeapSummaryStatistics
record component.private final NetworkIoStatistics
<PacketSample> The field for thepacketReadStatistics
record component.private final NetworkIoStatistics
<PacketSample> The field for thepacketSentStatistics
record component.private final NetworkIoStatistics
<ChunkRegionSample> The field for thereadChunks
record component.private final List
<ServerTickTimeSample> The field for theserverTickTimeSamples
record component.private final Instant
The field for thestartTime
record component.private final ThreadAllocationStatisticsSample.AllocationMap
The field for thethreadAllocationMap
record component.The field for theworldGenDuration
record component.private final NetworkIoStatistics
<ChunkRegionSample> The field for thewrittenChunks
record component. -
Constructor Summary
ConstructorDescriptionJfrProfile
(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 thechunkGenerationSamples
record component.Returns the value of thecpuLoadSamples
record component.duration()
Returns the value of theduration
record component.endTime()
Returns the value of theendTime
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefileReadStatistics
record component.Returns the value of thefileWriteStatistics
record component.Returns the value of thegcHeapSummaryStatistics
record component.List
<com.mojang.datafixers.util.Pair<ChunkStatus, LongRunningSampleStatistics<ChunkGenerationSample>>> final int
hashCode()
Returns a hash code value for this object.Returns the value of thepacketReadStatistics
record component.Returns the value of thepacketSentStatistics
record component.Returns the value of thereadChunks
record component.Returns the value of theserverTickTimeSamples
record component.Returns the value of thestartTime
record component.Returns the value of thethreadAllocationMap
record component.toJson()
final String
toString()
Returns a string representation of this record class.Returns the value of theworldGenDuration
record component.Returns the value of thewrittenChunks
record component.
-
Field Details
-
startTime
The field for thestartTime
record component. -
endTime
The field for theendTime
record component. -
duration
The field for theduration
record component. -
worldGenDuration
The field for theworldGenDuration
record component. -
serverTickTimeSamples
The field for theserverTickTimeSamples
record component. -
cpuLoadSamples
The field for thecpuLoadSamples
record component. -
gcHeapSummaryStatistics
The field for thegcHeapSummaryStatistics
record component. -
threadAllocationMap
The field for thethreadAllocationMap
record component. -
packetReadStatistics
The field for thepacketReadStatistics
record component. -
packetSentStatistics
The field for thepacketSentStatistics
record component. -
writtenChunks
The field for thewrittenChunks
record component. -
readChunks
The field for thereadChunks
record component. -
fileWriteStatistics
The field for thefileWriteStatistics
record component. -
fileReadStatistics
The field for thefileReadStatistics
record component. -
chunkGenerationSamples
The field for thechunkGenerationSamples
record 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 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
Lbnu;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
Lbnu;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 thestartTime
record component.- Returns:
- the value of the
startTime
record component
-
endTime
Returns the value of theendTime
record component.- Returns:
- the value of the
endTime
record component
-
duration
Returns the value of theduration
record component.- Returns:
- the value of the
duration
record component
-
worldGenDuration
Returns the value of theworldGenDuration
record component.- Returns:
- the value of the
worldGenDuration
record component
-
serverTickTimeSamples
Returns the value of theserverTickTimeSamples
record component.- Returns:
- the value of the
serverTickTimeSamples
record component
-
cpuLoadSamples
Returns the value of thecpuLoadSamples
record component.- Returns:
- the value of the
cpuLoadSamples
record component
-
gcHeapSummaryStatistics
Returns the value of thegcHeapSummaryStatistics
record component.- Returns:
- the value of the
gcHeapSummaryStatistics
record component
-
threadAllocationMap
Returns the value of thethreadAllocationMap
record component.- Returns:
- the value of the
threadAllocationMap
record component
-
packetReadStatistics
Returns the value of thepacketReadStatistics
record component.- Returns:
- the value of the
packetReadStatistics
record component
-
packetSentStatistics
Returns the value of thepacketSentStatistics
record component.- Returns:
- the value of the
packetSentStatistics
record component
-
writtenChunks
Returns the value of thewrittenChunks
record component.- Returns:
- the value of the
writtenChunks
record component
-
readChunks
Returns the value of thereadChunks
record component.- Returns:
- the value of the
readChunks
record component
-
fileWriteStatistics
Returns the value of thefileWriteStatistics
record component.- Returns:
- the value of the
fileWriteStatistics
record component
-
fileReadStatistics
Returns the value of thefileReadStatistics
record component.- Returns:
- the value of the
fileReadStatistics
record component
-
chunkGenerationSamples
Returns the value of thechunkGenerationSamples
record component.- Returns:
- the value of the
chunkGenerationSamples
record component
-