Package net.minecraft.util.profiling.jfr
Interface JvmProfiler
- All Known Implementing Classes:
JfrProfiler
,JvmProfiler.NoOpProfiler
public interface JvmProfiler
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
onChunkGenerate
(ChunkPos p_185348_, ResourceKey<Level> p_185349_, String p_185350_) void
onPacketReceived
(ConnectionProtocol p_298929_, int p_185343_, SocketAddress p_185345_, int p_185344_) void
onPacketSent
(ConnectionProtocol p_298320_, int p_185351_, SocketAddress p_185353_, int p_185352_) void
onServerTick
(float p_185342_) boolean
start
(Environment p_185347_) stop()
-
Field Details
-
INSTANCE
-
-
Method Details
-
start
-
stop
Path stop() -
isRunning
boolean isRunning() -
isAvailable
boolean isAvailable() -
onServerTick
void onServerTick(float p_185342_) -
onPacketReceived
void onPacketReceived(ConnectionProtocol p_298929_, int p_185343_, SocketAddress p_185345_, int p_185344_) -
onPacketSent
void onPacketSent(ConnectionProtocol p_298320_, int p_185351_, SocketAddress p_185353_, int p_185352_) -
onWorldLoadedStarted
-
onChunkGenerate
@Nullable ProfiledDuration onChunkGenerate(ChunkPos p_185348_, ResourceKey<Level> p_185349_, String p_185350_)
-