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 bee
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 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
The field for thepacketReadStatistics
record component.private final NetworkIoStatistics
The field for thepacketSentStatistics
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.private final @Nullable Duration
The field for theworldGenDuration
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 networkIoStatistics, NetworkIoStatistics networkIoStatistics2, 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 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.@Nullable Duration
Returns the value of theworldGenDuration
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. -
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 networkIoStatistics, NetworkIoStatistics networkIoStatistics2, 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 official a
Lbee;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
Lbee;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;
-
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
-
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
-