Package net.minecraft.util.profiling.jfr
Class JfrProfiler
java.lang.Object
net.minecraft.util.profiling.jfr.JfrProfiler
- All Implemented Interfaces:
FlightProfiler
- Mappings:
Namespace Name named net/minecraft/util/profiling/jfr/JfrProfiler
intermediary net/minecraft/class_6505
official bnj
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.profiling.jfr.FlightProfiler
FlightProfiler.NoopProfiler
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private static final DateTimeFormatter
private static final JfrProfiler
private static final Logger
static final String
static final String
static final String
private final Map
<String, NetworkSummaryEvent.Recorder> static final String
private float
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
static JfrProfiler
private NetworkSummaryEvent.Recorder
getOrCreateSummaryRecorder
(SocketAddress address) boolean
boolean
void
onChunkRegionRead
(StorageKey key, ChunkPos chunkPos, ChunkCompressionFormat format, int bytes) void
onChunkRegionWrite
(StorageKey key, ChunkPos chunkPos, ChunkCompressionFormat format, int bytes) void
onPacketReceived
(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes) void
onPacketSent
(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes) void
onTick
(float tickTime) private boolean
start
(Reader reader, InstanceType instanceType) boolean
start
(InstanceType instanceType) startChunkGenerationProfiling
(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) stop()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/util/profiling/jfr/JfrProfiler;LOGGER:Lorg/slf4j/Logger;
intermediary field_34408
Lnet/minecraft/class_6505;field_34408:Lorg/slf4j/Logger;
official g
Lbnj;g:Lorg/slf4j/Logger;
-
MINECRAFT
- See Also:
- Mappings:
Namespace Name Mixin selector named MINECRAFT
Lnet/minecraft/util/profiling/jfr/JfrProfiler;MINECRAFT:Ljava/lang/String;
intermediary field_34403
Lnet/minecraft/class_6505;field_34403:Ljava/lang/String;
official a
Lbnj;a:Ljava/lang/String;
-
WORLD_GENERATION
- See Also:
- Mappings:
Namespace Name Mixin selector named WORLD_GENERATION
Lnet/minecraft/util/profiling/jfr/JfrProfiler;WORLD_GENERATION:Ljava/lang/String;
intermediary field_34404
Lnet/minecraft/class_6505;field_34404:Ljava/lang/String;
official b
Lbnj;b:Ljava/lang/String;
-
TICKING
- See Also:
- Mappings:
Namespace Name Mixin selector named TICKING
Lnet/minecraft/util/profiling/jfr/JfrProfiler;TICKING:Ljava/lang/String;
intermediary field_34405
Lnet/minecraft/class_6505;field_34405:Ljava/lang/String;
official c
Lbnj;c:Ljava/lang/String;
-
NETWORK
- See Also:
- Mappings:
Namespace Name Mixin selector named NETWORK
Lnet/minecraft/util/profiling/jfr/JfrProfiler;NETWORK:Ljava/lang/String;
intermediary field_34406
Lnet/minecraft/class_6505;field_34406:Ljava/lang/String;
official d
Lbnj;d:Ljava/lang/String;
-
STORAGE
- See Also:
- Mappings:
Namespace Name Mixin selector named STORAGE
Lnet/minecraft/util/profiling/jfr/JfrProfiler;STORAGE:Ljava/lang/String;
intermediary field_49058
Lnet/minecraft/class_6505;field_49058:Ljava/lang/String;
official e
Lbnj;e:Ljava/lang/String;
-
EVENTS
- Mappings:
Namespace Name Mixin selector named EVENTS
Lnet/minecraft/util/profiling/jfr/JfrProfiler;EVENTS:Ljava/util/List;
intermediary field_34407
Lnet/minecraft/class_6505;field_34407:Ljava/util/List;
official h
Lbnj;h:Ljava/util/List;
-
CONFIG_PATH
- See Also:
- Mappings:
Namespace Name Mixin selector named CONFIG_PATH
Lnet/minecraft/util/profiling/jfr/JfrProfiler;CONFIG_PATH:Ljava/lang/String;
intermediary field_34409
Lnet/minecraft/class_6505;field_34409:Ljava/lang/String;
official i
Lbnj;i:Ljava/lang/String;
-
DATE_TIME_FORMAT
- Mappings:
Namespace Name Mixin selector named DATE_TIME_FORMAT
Lnet/minecraft/util/profiling/jfr/JfrProfiler;DATE_TIME_FORMAT:Ljava/time/format/DateTimeFormatter;
intermediary field_34410
Lnet/minecraft/class_6505;field_34410:Ljava/time/format/DateTimeFormatter;
official j
Lbnj;j:Ljava/time/format/DateTimeFormatter;
-
INSTANCE
- Mappings:
Namespace Name Mixin selector named INSTANCE
Lnet/minecraft/util/profiling/jfr/JfrProfiler;INSTANCE:Lnet/minecraft/util/profiling/jfr/JfrProfiler;
intermediary field_35576
Lnet/minecraft/class_6505;field_35576:Lnet/minecraft/class_6505;
official k
Lbnj;k:Lbnj;
-
currentRecording
- Mappings:
Namespace Name Mixin selector named currentRecording
Lnet/minecraft/util/profiling/jfr/JfrProfiler;currentRecording:Ljdk/jfr/Recording;
intermediary field_34411
Lnet/minecraft/class_6505;field_34411:Ljdk/jfr/Recording;
official l
Lbnj;l:Ljdk/jfr/Recording;
-
tickTime
private float tickTime- Mappings:
Namespace Name Mixin selector named tickTime
Lnet/minecraft/util/profiling/jfr/JfrProfiler;tickTime:F
intermediary field_35577
Lnet/minecraft/class_6505;field_35577:F
official m
Lbnj;m:F
-
summaryRecorderByAddress
- Mappings:
Namespace Name Mixin selector named summaryRecorderByAddress
Lnet/minecraft/util/profiling/jfr/JfrProfiler;summaryRecorderByAddress:Ljava/util/Map;
intermediary field_35578
Lnet/minecraft/class_6505;field_35578:Ljava/util/Map;
official n
Lbnj;n:Ljava/util/Map;
-
-
Constructor Details
-
JfrProfiler
private JfrProfiler()
-
-
Method Details
-
getInstance
- Mappings:
Namespace Name Mixin selector named getInstance
Lnet/minecraft/util/profiling/jfr/JfrProfiler;getInstance()Lnet/minecraft/util/profiling/jfr/JfrProfiler;
intermediary method_39428
Lnet/minecraft/class_6505;method_39428()Lnet/minecraft/class_6505;
official a
Lbnj;a()Lbnj;
-
start
- Specified by:
start
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/util/profiling/jfr/FlightProfiler;start(Lnet/minecraft/util/profiling/jfr/InstanceType;)Z
intermediary method_37981
Lnet/minecraft/class_6611;method_37981(Lnet/minecraft/class_6506;)Z
official a
Lbnk;a(Lbni;)Z
-
stop
- Specified by:
stop
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector named stop
Lnet/minecraft/util/profiling/jfr/FlightProfiler;stop()Ljava/nio/file/Path;
intermediary method_37980
Lnet/minecraft/class_6611;method_37980()Ljava/nio/file/Path;
official b
Lbnk;b()Ljava/nio/file/Path;
-
isProfiling
public boolean isProfiling()- Specified by:
isProfiling
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector named isProfiling
Lnet/minecraft/util/profiling/jfr/FlightProfiler;isProfiling()Z
intermediary method_37984
Lnet/minecraft/class_6611;method_37984()Z
official c
Lbnk;c()Z
-
isAvailable
public boolean isAvailable()- Specified by:
isAvailable
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector named isAvailable
Lnet/minecraft/util/profiling/jfr/FlightProfiler;isAvailable()Z
intermediary method_38658
Lnet/minecraft/class_6611;method_38658()Z
official d
Lbnk;d()Z
-
start
- Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/util/profiling/jfr/JfrProfiler;start(Ljava/io/Reader;Lnet/minecraft/util/profiling/jfr/InstanceType;)Z
intermediary method_37983
Lnet/minecraft/class_6505;method_37983(Ljava/io/Reader;Lnet/minecraft/class_6506;)Z
official a
Lbnj;a(Ljava/io/Reader;Lbni;)Z
-
addListener
private void addListener()- Mappings:
Namespace Name Mixin selector named addListener
Lnet/minecraft/util/profiling/jfr/JfrProfiler;addListener()V
intermediary method_38660
Lnet/minecraft/class_6505;method_38660()V
official f
Lbnj;f()V
-
onTick
public void onTick(float tickTime) - Specified by:
onTick
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector named onTick
Lnet/minecraft/util/profiling/jfr/FlightProfiler;onTick(F)V
intermediary method_38654
Lnet/minecraft/class_6611;method_38654(F)V
official a
Lbnk;a(F)V
-
onPacketReceived
public void onPacketReceived(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes) - Specified by:
onPacketReceived
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector named onPacketReceived
Lnet/minecraft/util/profiling/jfr/FlightProfiler;onPacketReceived(Lnet/minecraft/network/NetworkPhase;Lnet/minecraft/network/packet/PacketType;Ljava/net/SocketAddress;I)V
intermediary method_38656
Lnet/minecraft/class_6611;method_38656(Lnet/minecraft/class_2539;Lnet/minecraft/class_9145;Ljava/net/SocketAddress;I)V
official a
Lbnk;a(Lvt;Lzh;Ljava/net/SocketAddress;I)V
-
onPacketSent
public void onPacketSent(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes) - Specified by:
onPacketSent
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector named onPacketSent
Lnet/minecraft/util/profiling/jfr/FlightProfiler;onPacketSent(Lnet/minecraft/network/NetworkPhase;Lnet/minecraft/network/packet/PacketType;Ljava/net/SocketAddress;I)V
intermediary method_38657
Lnet/minecraft/class_6611;method_38657(Lnet/minecraft/class_2539;Lnet/minecraft/class_9145;Ljava/net/SocketAddress;I)V
official b
Lbnk;b(Lvt;Lzh;Ljava/net/SocketAddress;I)V
-
getOrCreateSummaryRecorder
- Mappings:
Namespace Name Mixin selector named getOrCreateSummaryRecorder
Lnet/minecraft/util/profiling/jfr/JfrProfiler;getOrCreateSummaryRecorder(Ljava/net/SocketAddress;)Lnet/minecraft/util/profiling/jfr/event/NetworkSummaryEvent$Recorder;
intermediary method_39429
Lnet/minecraft/class_6505;method_39429(Ljava/net/SocketAddress;)Lnet/minecraft/util/profiling/jfr/event/NetworkSummaryEvent$class_6779;
official a
Lbnj;a(Ljava/net/SocketAddress;)Lnet/minecraft/util/profiling/jfr/event/NetworkSummaryEvent$b;
-
onChunkRegionRead
public void onChunkRegionRead(StorageKey key, ChunkPos chunkPos, ChunkCompressionFormat format, int bytes) - Specified by:
onChunkRegionRead
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector named onChunkRegionRead
Lnet/minecraft/util/profiling/jfr/FlightProfiler;onChunkRegionRead(Lnet/minecraft/world/storage/StorageKey;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/storage/ChunkCompressionFormat;I)V
intermediary method_56979
Lnet/minecraft/class_6611;method_56979(Lnet/minecraft/class_9240;Lnet/minecraft/class_1923;Lnet/minecraft/class_4486;I)V
official a
Lbnk;a(Ldwp;Ldcb;Ldwo;I)V
-
onChunkRegionWrite
public void onChunkRegionWrite(StorageKey key, ChunkPos chunkPos, ChunkCompressionFormat format, int bytes) - Specified by:
onChunkRegionWrite
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector named onChunkRegionWrite
Lnet/minecraft/util/profiling/jfr/FlightProfiler;onChunkRegionWrite(Lnet/minecraft/world/storage/StorageKey;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/storage/ChunkCompressionFormat;I)V
intermediary method_56980
Lnet/minecraft/class_6611;method_56980(Lnet/minecraft/class_9240;Lnet/minecraft/class_1923;Lnet/minecraft/class_4486;I)V
official b
Lbnk;b(Ldwp;Ldcb;Ldwo;I)V
-
startWorldLoadProfiling
- Specified by:
startWorldLoadProfiling
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector named startWorldLoadProfiling
Lnet/minecraft/util/profiling/jfr/FlightProfiler;startWorldLoadProfiling()Lnet/minecraft/util/function/Finishable;
intermediary method_38659
Lnet/minecraft/class_6611;method_38659()Lnet/minecraft/class_6613;
official e
Lbnk;e()Lbnn;
-
startChunkGenerationProfiling
@Nullable public @Nullable Finishable startChunkGenerationProfiling(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) - Specified by:
startChunkGenerationProfiling
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector named startChunkGenerationProfiling
Lnet/minecraft/util/profiling/jfr/FlightProfiler;startChunkGenerationProfiling(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/registry/RegistryKey;Ljava/lang/String;)Lnet/minecraft/util/function/Finishable;
intermediary method_38655
Lnet/minecraft/class_6611;method_38655(Lnet/minecraft/class_1923;Lnet/minecraft/class_5321;Ljava/lang/String;)Lnet/minecraft/class_6613;
official a
Lbnk;a(Ldcb;Lakp;Ljava/lang/String;)Lbnn;
-