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_294356_, PacketType<?> p_320354_, SocketAddress p_185345_, int p_185343_) void
onPacketSent
(ConnectionProtocol p_295578_, PacketType<?> p_320775_, SocketAddress p_185353_, int p_185351_) void
onRegionFileRead
(RegionStorageInfo p_325986_, ChunkPos p_326233_, RegionFileVersion p_325994_, int p_326396_) void
onRegionFileWrite
(RegionStorageInfo p_326304_, ChunkPos p_326296_, RegionFileVersion p_326215_, int p_326501_) 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_294356_, PacketType<?> p_320354_, SocketAddress p_185345_, int p_185343_) -
onPacketSent
void onPacketSent(ConnectionProtocol p_295578_, PacketType<?> p_320775_, SocketAddress p_185353_, int p_185351_) -
onRegionFileRead
void onRegionFileRead(RegionStorageInfo p_325986_, ChunkPos p_326233_, RegionFileVersion p_325994_, int p_326396_) -
onRegionFileWrite
void onRegionFileWrite(RegionStorageInfo p_326304_, ChunkPos p_326296_, RegionFileVersion p_326215_, int p_326501_) -
onWorldLoadedStarted
-
onChunkGenerate
@Nullable ProfiledDuration onChunkGenerate(ChunkPos p_185348_, ResourceKey<Level> p_185349_, String p_185350_)
-