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
(int p_185343_, int p_185344_, SocketAddress p_185345_, int p_185346_) void
onPacketSent
(int p_185351_, int p_185352_, SocketAddress p_185353_, int p_185354_) 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
-
onPacketSent
-
onWorldLoadedStarted
-
onChunkGenerate
@Nullable ProfiledDuration onChunkGenerate(ChunkPos p_185348_, ResourceKey<Level> p_185349_, String p_185350_)
-