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_, PacketType<?> p_334193_, SocketAddress p_185345_, int p_185343_) void
onPacketSent
(ConnectionProtocol p_298320_, PacketType<?> p_328486_, SocketAddress p_185353_, int p_185351_) void
onRegionFileRead
(RegionStorageInfo p_330485_, ChunkPos p_331201_, RegionFileVersion p_333173_, int p_330872_) void
onRegionFileWrite
(RegionStorageInfo p_330562_, ChunkPos p_334903_, RegionFileVersion p_331257_, int p_327730_) 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_, PacketType<?> p_334193_, SocketAddress p_185345_, int p_185343_) -
onPacketSent
void onPacketSent(ConnectionProtocol p_298320_, PacketType<?> p_328486_, SocketAddress p_185353_, int p_185351_) -
onRegionFileRead
void onRegionFileRead(RegionStorageInfo p_330485_, ChunkPos p_331201_, RegionFileVersion p_333173_, int p_330872_) -
onRegionFileWrite
void onRegionFileWrite(RegionStorageInfo p_330562_, ChunkPos p_334903_, RegionFileVersion p_331257_, int p_327730_) -
onWorldLoadedStarted
-
onChunkGenerate
@Nullable ProfiledDuration onChunkGenerate(ChunkPos p_185348_, ResourceKey<Level> p_185349_, String p_185350_)
-