net.minecraft.util.profiling.jfr

public class JfrProfiler

implements JvmProfiler

bqa
net.minecraft.util.profiling.jfr.JfrProfiler
net.minecraft.class_6505
net.minecraft.util.profiling.jfr.JfrProfiler
net.minecraft.util.profiling.jfr.JfrProfiler

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
g
LOGGER
field_34408
LOGGER
public static final String
a
ROOT_CATEGORY
field_34403
MINECRAFT
public static final String
b
WORLD_GEN_CATEGORY
field_34404
WORLD_GENERATION
public static final String
c
TICK_CATEGORY
field_34405
TICKING
public static final String
d
NETWORK_CATEGORY
field_34406
NETWORK
public static final String
e
STORAGE_CATEGORY
field_49058
STORAGE
private static final List<Class<? extends Event>>
h
CUSTOM_EVENTS
field_34407
EVENTS
private static final String
i
FLIGHT_RECORDER_CONFIG
field_34409
CONFIG_PATH
private static final DateTimeFormatter
j
DATE_TIME_FORMATTER
field_34410
DATE_TIME_FORMAT
private static final JfrProfiler
k
INSTANCE
field_35576
INSTANCE
Recording
l
recording
field_34411
currentRecording
private float
m
currentAverageTickTime
field_35577
tickTime
private final Map<String, NetworkSummaryEvent$SumAggregation>
n
networkTrafficByAddress
field_35578
summaryRecorderByAddress

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static JfrProfiler
a()
getInstance()
method_39428()
getInstance()
public boolean
a(bpz arg0)
start(Environment arg0)
method_37981(class_6506 arg0)
start(InstanceType arg0)
public Path
b()
stop()
method_37980()
stop()
public boolean
c()
isRunning()
method_37984()
isProfiling()
public boolean
d()
isAvailable()
method_38658()
isAvailable()
private boolean
a(Reader arg0, bpz arg1)
start(Reader arg0, Environment arg1)
method_37983(Reader arg0, class_6506 arg1)
start(Reader reader, InstanceType instanceType)
private void
f()
setupSummaryListener()
method_38660()
addListener()
public void
a(float arg0)
onServerTick(float arg0)
method_38654(float arg0)
onTick(float arg0)
public void
a(wq arg0, aae<?> arg1, SocketAddress arg2, int arg3)
onPacketReceived(ConnectionProtocol arg0, PacketType<?> arg1, SocketAddress arg2, int arg3)
method_38656(class_2539 arg0, class_9145<?> arg1, SocketAddress arg2, int arg3)
onPacketReceived(NetworkPhase arg0, PacketType<?> arg1, SocketAddress arg2, int arg3)
public void
b(wq arg0, aae<?> arg1, SocketAddress arg2, int arg3)
onPacketSent(ConnectionProtocol arg0, PacketType<?> arg1, SocketAddress arg2, int arg3)
method_38657(class_2539 arg0, class_9145<?> arg1, SocketAddress arg2, int arg3)
onPacketSent(NetworkPhase arg0, PacketType<?> arg1, SocketAddress arg2, int arg3)
private NetworkSummaryEvent$SumAggregation
a(SocketAddress arg0)
networkStatFor(SocketAddress arg0)
method_39429(SocketAddress arg0)
getOrCreateSummaryRecorder(SocketAddress address)
public void
a(ebj arg0, dgo arg1, ebi arg2, int arg3)
onRegionFileRead(RegionStorageInfo arg0, ChunkPos arg1, RegionFileVersion arg2, int arg3)
method_56979(class_9240 arg0, class_1923 arg1, class_4486 arg2, int arg3)
onChunkRegionRead(StorageKey arg0, ChunkPos arg1, ChunkCompressionFormat arg2, int arg3)
public void
b(ebj arg0, dgo arg1, ebi arg2, int arg3)
onRegionFileWrite(RegionStorageInfo arg0, ChunkPos arg1, RegionFileVersion arg2, int arg3)
method_56980(class_9240 arg0, class_1923 arg1, class_4486 arg2, int arg3)
onChunkRegionWrite(StorageKey arg0, ChunkPos arg1, ChunkCompressionFormat arg2, int arg3)
public ProfiledDuration
e()
onWorldLoadedStarted()
method_38659()
startWorldLoadProfiling()
public ProfiledDuration
a(dgo arg0, aly<dhi> arg1, String arg2)
onChunkGenerate(ChunkPos arg0, ResourceKey<Level> arg1, String arg2)
method_38655(class_1923 arg0, class_5321<class_1937> arg1, String arg2)
startChunkGenerationProfiling(ChunkPos arg0, RegistryKey<World> arg1, String arg2)