Package net.minecraft.util.profiling.jfr
Class JfrProfiler
java.lang.Object
net.minecraft.util.profiling.jfr.JfrProfiler
- All Implemented Interfaces:
FlightProfiler
- Mappings:
Namespace Name official awh
intermediary net/minecraft/class_6505
named net/minecraft/util/profiling/jfr/JfrProfiler
-
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 org.slf4j.Logger
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
onPacketReceived
(int protocolId, int packetId, SocketAddress remoteAddress, int bytes) void
onPacketSent
(int protocolId, int packetId, 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
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official f
Lawh;f:Lorg/slf4j/Logger;
intermediary field_34408
Lnet/minecraft/class_6505;field_34408:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/util/profiling/jfr/JfrProfiler;LOGGER:Lorg/slf4j/Logger;
-
MINECRAFT
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lawh;a:Ljava/lang/String;
intermediary field_34403
Lnet/minecraft/class_6505;field_34403:Ljava/lang/String;
named MINECRAFT
Lnet/minecraft/util/profiling/jfr/JfrProfiler;MINECRAFT:Ljava/lang/String;
-
WORLD_GENERATION
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lawh;b:Ljava/lang/String;
intermediary field_34404
Lnet/minecraft/class_6505;field_34404:Ljava/lang/String;
named WORLD_GENERATION
Lnet/minecraft/util/profiling/jfr/JfrProfiler;WORLD_GENERATION:Ljava/lang/String;
-
TICKING
- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lawh;c:Ljava/lang/String;
intermediary field_34405
Lnet/minecraft/class_6505;field_34405:Ljava/lang/String;
named TICKING
Lnet/minecraft/util/profiling/jfr/JfrProfiler;TICKING:Ljava/lang/String;
-
NETWORK
- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lawh;d:Ljava/lang/String;
intermediary field_34406
Lnet/minecraft/class_6505;field_34406:Ljava/lang/String;
named NETWORK
Lnet/minecraft/util/profiling/jfr/JfrProfiler;NETWORK:Ljava/lang/String;
-
EVENTS
- Mappings:
Namespace Name Mixin selector official g
Lawh;g:Ljava/util/List;
intermediary field_34407
Lnet/minecraft/class_6505;field_34407:Ljava/util/List;
named EVENTS
Lnet/minecraft/util/profiling/jfr/JfrProfiler;EVENTS:Ljava/util/List;
-
CONFIG_PATH
- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lawh;h:Ljava/lang/String;
intermediary field_34409
Lnet/minecraft/class_6505;field_34409:Ljava/lang/String;
named CONFIG_PATH
Lnet/minecraft/util/profiling/jfr/JfrProfiler;CONFIG_PATH:Ljava/lang/String;
-
DATE_TIME_FORMAT
- Mappings:
Namespace Name Mixin selector official i
Lawh;i:Ljava/time/format/DateTimeFormatter;
intermediary field_34410
Lnet/minecraft/class_6505;field_34410:Ljava/time/format/DateTimeFormatter;
named DATE_TIME_FORMAT
Lnet/minecraft/util/profiling/jfr/JfrProfiler;DATE_TIME_FORMAT:Ljava/time/format/DateTimeFormatter;
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official j
Lawh;j:Lawh;
intermediary field_35576
Lnet/minecraft/class_6505;field_35576:Lnet/minecraft/class_6505;
named INSTANCE
Lnet/minecraft/util/profiling/jfr/JfrProfiler;INSTANCE:Lnet/minecraft/util/profiling/jfr/JfrProfiler;
-
currentRecording
- Mappings:
Namespace Name Mixin selector official k
Lawh;k:Ljdk/jfr/Recording;
intermediary field_34411
Lnet/minecraft/class_6505;field_34411:Ljdk/jfr/Recording;
named currentRecording
Lnet/minecraft/util/profiling/jfr/JfrProfiler;currentRecording:Ljdk/jfr/Recording;
-
tickTime
private float tickTime- Mappings:
Namespace Name Mixin selector official l
Lawh;l:F
intermediary field_35577
Lnet/minecraft/class_6505;field_35577:F
named tickTime
Lnet/minecraft/util/profiling/jfr/JfrProfiler;tickTime:F
-
summaryRecorderByAddress
- Mappings:
Namespace Name Mixin selector official m
Lawh;m:Ljava/util/Map;
intermediary field_35578
Lnet/minecraft/class_6505;field_35578:Ljava/util/Map;
named summaryRecorderByAddress
Lnet/minecraft/util/profiling/jfr/JfrProfiler;summaryRecorderByAddress:Ljava/util/Map;
-
-
Constructor Details
-
JfrProfiler
private JfrProfiler()
-
-
Method Details
-
getInstance
- Mappings:
Namespace Name Mixin selector official a
Lawh;a()Lawh;
intermediary method_39428
Lnet/minecraft/class_6505;method_39428()Lnet/minecraft/class_6505;
named getInstance
Lnet/minecraft/util/profiling/jfr/JfrProfiler;getInstance()Lnet/minecraft/util/profiling/jfr/JfrProfiler;
-
start
- Specified by:
start
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official a
Lawi;a(Lawg;)Z
intermediary method_37981
Lnet/minecraft/class_6611;method_37981(Lnet/minecraft/class_6506;)Z
named start
Lnet/minecraft/util/profiling/jfr/FlightProfiler;start(Lnet/minecraft/util/profiling/jfr/InstanceType;)Z
-
stop
- Specified by:
stop
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official b
Lawi;b()Ljava/nio/file/Path;
intermediary method_37980
Lnet/minecraft/class_6611;method_37980()Ljava/nio/file/Path;
named stop
Lnet/minecraft/util/profiling/jfr/FlightProfiler;stop()Ljava/nio/file/Path;
-
isProfiling
public boolean isProfiling()- Specified by:
isProfiling
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official c
Lawi;c()Z
intermediary method_37984
Lnet/minecraft/class_6611;method_37984()Z
named isProfiling
Lnet/minecraft/util/profiling/jfr/FlightProfiler;isProfiling()Z
-
isAvailable
public boolean isAvailable()- Specified by:
isAvailable
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official d
Lawi;d()Z
intermediary method_38658
Lnet/minecraft/class_6611;method_38658()Z
named isAvailable
Lnet/minecraft/util/profiling/jfr/FlightProfiler;isAvailable()Z
-
start
- Mappings:
Namespace Name Mixin selector official a
Lawh;a(Ljava/io/Reader;Lawg;)Z
intermediary method_37983
Lnet/minecraft/class_6505;method_37983(Ljava/io/Reader;Lnet/minecraft/class_6506;)Z
named start
Lnet/minecraft/util/profiling/jfr/JfrProfiler;start(Ljava/io/Reader;Lnet/minecraft/util/profiling/jfr/InstanceType;)Z
-
addListener
private void addListener()- Mappings:
Namespace Name Mixin selector official f
Lawh;f()V
intermediary method_38660
Lnet/minecraft/class_6505;method_38660()V
named addListener
Lnet/minecraft/util/profiling/jfr/JfrProfiler;addListener()V
-
onTick
public void onTick(float tickTime) - Specified by:
onTick
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official a
Lawi;a(F)V
intermediary method_38654
Lnet/minecraft/class_6611;method_38654(F)V
named onTick
Lnet/minecraft/util/profiling/jfr/FlightProfiler;onTick(F)V
-
onPacketReceived
- Specified by:
onPacketReceived
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official a
Lawi;a(IILjava/net/SocketAddress;I)V
intermediary method_38656
Lnet/minecraft/class_6611;method_38656(IILjava/net/SocketAddress;I)V
named onPacketReceived
Lnet/minecraft/util/profiling/jfr/FlightProfiler;onPacketReceived(IILjava/net/SocketAddress;I)V
-
onPacketSent
- Specified by:
onPacketSent
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official b
Lawi;b(IILjava/net/SocketAddress;I)V
intermediary method_38657
Lnet/minecraft/class_6611;method_38657(IILjava/net/SocketAddress;I)V
named onPacketSent
Lnet/minecraft/util/profiling/jfr/FlightProfiler;onPacketSent(IILjava/net/SocketAddress;I)V
-
getOrCreateSummaryRecorder
- Mappings:
Namespace Name Mixin selector official a
Lawh;a(Ljava/net/SocketAddress;)Lnet/minecraft/util/profiling/jfr/event/NetworkSummaryEvent$b;
intermediary method_39429
Lnet/minecraft/class_6505;method_39429(Ljava/net/SocketAddress;)Lnet/minecraft/util/profiling/jfr/event/NetworkSummaryEvent$class_6779;
named getOrCreateSummaryRecorder
Lnet/minecraft/util/profiling/jfr/JfrProfiler;getOrCreateSummaryRecorder(Ljava/net/SocketAddress;)Lnet/minecraft/util/profiling/jfr/event/NetworkSummaryEvent$Recorder;
-
startWorldLoadProfiling
- Specified by:
startWorldLoadProfiling
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official e
Lawi;e()Lawl;
intermediary method_38659
Lnet/minecraft/class_6611;method_38659()Lnet/minecraft/class_6613;
named startWorldLoadProfiling
Lnet/minecraft/util/profiling/jfr/FlightProfiler;startWorldLoadProfiling()Lnet/minecraft/util/profiling/jfr/Finishable;
-
startChunkGenerationProfiling
@Nullable public @Nullable Finishable startChunkGenerationProfiling(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) - Specified by:
startChunkGenerationProfiling
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official a
Lawi;a(Lcfh;Laai;Ljava/lang/String;)Lawl;
intermediary method_38655
Lnet/minecraft/class_6611;method_38655(Lnet/minecraft/class_1923;Lnet/minecraft/class_5321;Ljava/lang/String;)Lnet/minecraft/class_6613;
named startChunkGenerationProfiling
Lnet/minecraft/util/profiling/jfr/FlightProfiler;startChunkGenerationProfiling(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/util/registry/RegistryKey;Ljava/lang/String;)Lnet/minecraft/util/profiling/jfr/Finishable;
-