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-fps-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<ClientFpsSample> fps, 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/JfrProfileintermediary net/minecraft/class_6517official bzynamed startTimeintermediary comp_3official anamed endTimeintermediary comp_4official bnamed durationintermediary comp_5official cnamed worldGenDurationintermediary comp_6official dnamed fpsintermediary comp_4948official enamed serverTickTimeSamplesintermediary comp_7official fnamed cpuLoadSamplesintermediary comp_8official gnamed gcHeapSummaryStatisticsintermediary comp_9official hnamed threadAllocationMapintermediary comp_10official inamed packetReadStatisticsintermediary comp_11official jnamed packetSentStatisticsintermediary comp_12official knamed writtenChunksintermediary comp_2339official lnamed readChunksintermediary comp_2340official mnamed fileWriteStatisticsintermediary comp_13official nnamed fileReadStatisticsintermediary comp_14official onamed chunkGenerationSamplesintermediary comp_15official pnamed structureGenerationSamplesintermediary comp_3330official q
-
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 List<ClientFpsSample> The field for thefpsrecord 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 Summary
ConstructorsConstructorDescriptionJfrProfile(Instant recordingStarted, Instant recordingEnded, Duration recordingDuration, @Nullable Duration worldCreationDuration, List<ClientFpsSample> fps, List<ServerTickTimeSample> serverTickTimes, List<CpuLoadSample> cpuLoadStats, GcHeapSummarySample.Statistics heapSummary, ThreadAllocationStatisticsSample.AllocationMap threadAllocationSummary, NetworkIoStatistics<PacketSample> receivedPacketsSummary, NetworkIoStatistics<PacketSample> sentPacketsSummary, NetworkIoStatistics<ChunkRegionSample> writtenChunks, NetworkIoStatistics<ChunkRegionSample> readChunks, FileIoSample.Statistics fileWrites, FileIoSample.Statistics fileReads, List<ChunkGenerationSample> chunkGenStats, List<StructureGenerationSample> structureGenStats) -
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.fps()Returns the value of thefpsrecord 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
-
startTime
The field for thestartTimerecord component. -
endTime
The field for theendTimerecord component. -
duration
The field for thedurationrecord component. -
worldGenDuration
The field for theworldGenDurationrecord component. -
fps
The field for thefpsrecord 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. -
structureGenerationSamples
The field for thestructureGenerationSamplesrecord component.
-
-
Constructor Details
-
JfrProfile
public JfrProfile(Instant recordingStarted, Instant recordingEnded, Duration recordingDuration, @Nullable @Nullable Duration worldCreationDuration, List<ClientFpsSample> fps, List<ServerTickTimeSample> serverTickTimes, List<CpuLoadSample> cpuLoadStats, GcHeapSummarySample.Statistics heapSummary, ThreadAllocationStatisticsSample.AllocationMap threadAllocationSummary, NetworkIoStatistics<PacketSample> receivedPacketsSummary, NetworkIoStatistics<PacketSample> sentPacketsSummary, NetworkIoStatistics<ChunkRegionSample> writtenChunks, NetworkIoStatistics<ChunkRegionSample> readChunks, FileIoSample.Statistics fileWrites, FileIoSample.Statistics fileReads, List<ChunkGenerationSample> chunkGenStats, List<StructureGenerationSample> structureGenStats) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/util/profiling/jfr/JfrProfile;<init>(Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Duration;Ljava/time/Duration;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lnet/minecraft/util/profiling/jfr/sample/GcHeapSummarySample$Statistics;Lnet/minecraft/util/profiling/jfr/sample/ThreadAllocationStatisticsSample$AllocationMap;Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;Lnet/minecraft/util/profiling/jfr/sample/FileIoSample$Statistics;Lnet/minecraft/util/profiling/jfr/sample/FileIoSample$Statistics;Ljava/util/List;Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_6517;<init>(Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Duration;Ljava/time/Duration;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lnet/minecraft/class_6525$class_6526;Lnet/minecraft/class_6530$class_6531;Lnet/minecraft/class_6767;Lnet/minecraft/class_6767;Lnet/minecraft/class_6767;Lnet/minecraft/class_6767;Lnet/minecraft/class_6523$class_6524;Lnet/minecraft/class_6523$class_6524;Ljava/util/List;Ljava/util/List;)Vofficial <init>Lbzy;<init>(Ljava/time/Instant;Ljava/time/Instant;Ljava/time/Duration;Ljava/time/Duration;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lcah$a;Lcal$a;Lcai;Lcai;Lcai;Lcai;Lcaf$a;Lcaf$a;Ljava/util/List;Ljava/util/List;)V
-
-
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 aLbzy;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 bLbzy;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
-
fps
Returns the value of thefpsrecord component.- Returns:
- the value of the
fpsrecord 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
-
structureGenerationSamples
Returns the value of thestructureGenerationSamplesrecord component.- Returns:
- the value of the
structureGenerationSamplesrecord component
-