net.minecraft.util.profiling.jfr

public class JfrProfiler

implements JvmProfiler

bnk
net.minecraft.util.profiling.jfr.JfrProfiler
net.minecraft.class_6505
net.minecraft.util.profiling.jfr.JfrProfiler
net.minecraft.src.C_182806_
net.minecraft.util.profiling.jfr.JfrProfiler

Field summary

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

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static JfrProfiler
a()
getInstance()
method_39428()
getInstance()
m_185298_()
public boolean
a(bnj arg0)
start(Environment arg0)
method_37981(class_6506 arg0)
start(InstanceType arg0)
m_183425_(C_182805_ arg0)
public Path
b()
stop()
method_37980()
stop()
m_183243_()
public boolean
c()
isRunning()
method_37984()
isProfiling()
m_183608_()
public boolean
d()
isAvailable()
method_38658()
isAvailable()
m_183609_()
private boolean
a(Reader arg0, bnj arg1)
start(Reader arg0, Environment arg1)
method_37983(Reader arg0, class_6506 arg1)
start(Reader reader, InstanceType instanceType)
m_185316_(Reader p_185318_, C_182805_ arg1)
private void
f()
setupSummaryListener()
method_38660()
addListener()
m_185330_()
public void
a(float arg0)
onServerTick(float arg0)
method_38654(float arg0)
onTick(float arg0)
m_183597_(float arg0)
public void
a(vu arg0, zi<?> 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)
m_183510_(C_4965_ p_335626_, C_313403_<?> p_185304_, SocketAddress p_185302_, int arg3)
public void
b(vu arg0, zi<?> 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)
m_183508_(C_4965_ p_334491_, C_313403_<?> p_185325_, SocketAddress p_185323_, int arg3)
private NetworkSummaryEvent$SumAggregation
a(SocketAddress arg0)
networkStatFor(SocketAddress arg0)
method_39429(SocketAddress arg0)
getOrCreateSummaryRecorder(SocketAddress address)
m_185319_(SocketAddress arg0)
public void
a(dws arg0, dcd arg1, dwr 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)
m_321210_(C_313747_ p_331074_, C_1560_ p_332565_, C_2172_ p_334299_, int arg3)
public void
b(dws arg0, dcd arg1, dwr 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)
m_319778_(C_313747_ p_330898_, C_1560_ p_334334_, C_2172_ p_334429_, int arg3)
public ProfiledDuration
e()
onWorldLoadedStarted()
method_38659()
startWorldLoadProfiling()
m_183494_()
public ProfiledDuration
a(dcd arg0, akq<dcw> 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)
m_183559_(C_1560_ p_185314_, C_5264_<C_1596_> p_185315_, String arg2)