Package net.minecraft.util.profiler
Class DebugRecorder
java.lang.Object
net.minecraft.util.profiler.DebugRecorder
- All Implemented Interfaces:
- Recorder
- Mappings:
- Namespace - Name - official - bbx- intermediary - net/minecraft/class_5961- named - net/minecraft/util/profiler/DebugRecorder
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final RecordDumperprivate final Executorprivate final longstatic final intprivate ReadableProfilerprivate final Consumer<ProfileResult>private final SamplerSourceprivate booleanprivate intprivate final LongSupplierprivate final TickTimeTracker
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateDebugRecorder(SamplerSource samplerSource, LongSupplier timeGetter, Executor dumpExecutor, RecordDumper dumper, Consumer<ProfileResult> resultConsumer, Consumer<Path> dumpConsumer) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidprivate voiddump(ProfileResult result) voidendTick()voidprivate voidforceStop(Collection<Sampler> samplers) booleanisActive()static DebugRecorderof(SamplerSource source, LongSupplier timeGetter, Executor dumpExecutor, RecordDumper dumper, Consumer<ProfileResult> resultConsumer, Consumer<Path> dumpConsumer) static voidsetGlobalDumpConsumer(Consumer<Path> consumer) voidvoidstop()
- 
Field Details- 
MAX_DURATION_IN_SECONDSpublic static final int MAX_DURATION_IN_SECONDS- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbbx;a:I- intermediary - field_32676- Lnet/minecraft/class_5961;field_32676:I- named - MAX_DURATION_IN_SECONDS- Lnet/minecraft/util/profiler/DebugRecorder;MAX_DURATION_IN_SECONDS:I
 
- 
globalDumpConsumer- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbbx;b:Ljava/util/function/Consumer;- intermediary - field_29579- Lnet/minecraft/class_5961;field_29579:Ljava/util/function/Consumer;- named - globalDumpConsumer- Lnet/minecraft/util/profiler/DebugRecorder;globalDumpConsumer:Ljava/util/function/Consumer;
 
- 
deviations- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbbx;c:Ljava/util/Map;- intermediary - field_33891- Lnet/minecraft/class_5961;field_33891:Ljava/util/Map;- named - deviations- Lnet/minecraft/util/profiler/DebugRecorder;deviations:Ljava/util/Map;
 
- 
timeTracker- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbbx;d:Lbah;- intermediary - field_29581- Lnet/minecraft/class_5961;field_29581:Lnet/minecraft/class_4757;- named - timeTracker- Lnet/minecraft/util/profiler/DebugRecorder;timeTracker:Lnet/minecraft/util/profiler/TickTimeTracker;
 
- 
dumpExecutor- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbbx;e:Ljava/util/concurrent/Executor;- intermediary - field_29582- Lnet/minecraft/class_5961;field_29582:Ljava/util/concurrent/Executor;- named - dumpExecutor- Lnet/minecraft/util/profiler/DebugRecorder;dumpExecutor:Ljava/util/concurrent/Executor;
 
- 
dumper- Mappings:
- Namespace - Name - Mixin selector - official - f- Lbbx;f:Lbcd;- intermediary - field_29583- Lnet/minecraft/class_5961;field_29583:Lnet/minecraft/class_5971;- named - dumper- Lnet/minecraft/util/profiler/DebugRecorder;dumper:Lnet/minecraft/util/profiler/RecordDumper;
 
- 
resultConsumer- Mappings:
- Namespace - Name - Mixin selector - official - g- Lbbx;g:Ljava/util/function/Consumer;- intermediary - field_29584- Lnet/minecraft/class_5961;field_29584:Ljava/util/function/Consumer;- named - resultConsumer- Lnet/minecraft/util/profiler/DebugRecorder;resultConsumer:Ljava/util/function/Consumer;
 
- 
dumpConsumer- Mappings:
- Namespace - Name - Mixin selector - official - h- Lbbx;h:Ljava/util/function/Consumer;- intermediary - field_29585- Lnet/minecraft/class_5961;field_29585:Ljava/util/function/Consumer;- named - dumpConsumer- Lnet/minecraft/util/profiler/DebugRecorder;dumpConsumer:Ljava/util/function/Consumer;
 
- 
samplerSource- Mappings:
- Namespace - Name - Mixin selector - official - i- Lbbx;i:Lbbu;- intermediary - field_33892- Lnet/minecraft/class_5961;field_33892:Lnet/minecraft/class_6400;- named - samplerSource- Lnet/minecraft/util/profiler/DebugRecorder;samplerSource:Lnet/minecraft/util/profiler/SamplerSource;
 
- 
timeGetter- Mappings:
- Namespace - Name - Mixin selector - official - j- Lbbx;j:Ljava/util/function/LongSupplier;- intermediary - field_29586- Lnet/minecraft/class_5961;field_29586:Ljava/util/function/LongSupplier;- named - timeGetter- Lnet/minecraft/util/profiler/DebugRecorder;timeGetter:Ljava/util/function/LongSupplier;
 
- 
endTimeprivate final long endTime- Mappings:
- Namespace - Name - Mixin selector - official - k- Lbbx;k:J- intermediary - field_29588- Lnet/minecraft/class_5961;field_29588:J- named - endTime- Lnet/minecraft/util/profiler/DebugRecorder;endTime:J
 
- 
ticksprivate int ticks- Mappings:
- Namespace - Name - Mixin selector - official - l- Lbbx;l:I- intermediary - field_29589- Lnet/minecraft/class_5961;field_29589:I- named - ticks- Lnet/minecraft/util/profiler/DebugRecorder;ticks:I
 
- 
profiler- Mappings:
- Namespace - Name - Mixin selector - official - m- Lbbx;m:Lbal;- intermediary - field_29590- Lnet/minecraft/class_5961;field_29590:Lnet/minecraft/class_3693;- named - profiler- Lnet/minecraft/util/profiler/DebugRecorder;profiler:Lnet/minecraft/util/profiler/ReadableProfiler;
 
- 
stoppingprivate volatile boolean stopping- Mappings:
- Namespace - Name - Mixin selector - official - n- Lbbx;n:Z- intermediary - field_29591- Lnet/minecraft/class_5961;field_29591:Z- named - stopping- Lnet/minecraft/util/profiler/DebugRecorder;stopping:Z
 
- 
samplers- Mappings:
- Namespace - Name - Mixin selector - official - o- Lbbx;o:Ljava/util/Set;- intermediary - field_33893- Lnet/minecraft/class_5961;field_33893:Ljava/util/Set;- named - samplers- Lnet/minecraft/util/profiler/DebugRecorder;samplers:Ljava/util/Set;
 
 
- 
- 
Constructor Details- 
DebugRecorderprivate DebugRecorder(SamplerSource samplerSource, LongSupplier timeGetter, Executor dumpExecutor, RecordDumper dumper, Consumer<ProfileResult> resultConsumer, Consumer<Path> dumpConsumer) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbbx;<init>(Lbbu;Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lbcd;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V- intermediary - <init>- Lnet/minecraft/class_5961;<init>(Lnet/minecraft/class_6400;Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/class_5971;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V- named - <init>- Lnet/minecraft/util/profiler/DebugRecorder;<init>(Lnet/minecraft/util/profiler/SamplerSource;Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/util/profiler/RecordDumper;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
 
 
- 
- 
Method Details- 
ofpublic static DebugRecorder of(SamplerSource source, LongSupplier timeGetter, Executor dumpExecutor, RecordDumper dumper, Consumer<ProfileResult> resultConsumer, Consumer<Path> dumpConsumer) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lbbx;a(Lbbu;Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lbcd;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)Lbbx;- intermediary - method_37191- Lnet/minecraft/class_5961;method_37191(Lnet/minecraft/class_6400;Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/class_5971;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)Lnet/minecraft/class_5961;- named - of- Lnet/minecraft/util/profiler/DebugRecorder;of(Lnet/minecraft/util/profiler/SamplerSource;Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/util/profiler/RecordDumper;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)Lnet/minecraft/util/profiler/DebugRecorder;
 
- 
stoppublic void stop()
- 
forceStoppublic void forceStop()
- 
startTickpublic void startTick()
- 
endTickpublic void endTick()
- 
isActivepublic boolean isActive()
- 
getProfiler- Specified by:
- getProfilerin interface- Recorder
- Mappings:
- Namespace - Name - Mixin selector - official - f- Lbbz;f()Lban;- intermediary - method_34774- Lnet/minecraft/class_5962;method_34774()Lnet/minecraft/class_3695;- named - getProfiler- Lnet/minecraft/util/profiler/Recorder;getProfiler()Lnet/minecraft/util/profiler/Profiler;
 
- 
checkStateprivate void checkState()- Mappings:
- Namespace - Name - Mixin selector - official - g- Lbbx;g()V- intermediary - method_34762- Lnet/minecraft/class_5961;method_34762()V- named - checkState- Lnet/minecraft/util/profiler/DebugRecorder;checkState()V
 
- 
dump- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbbx;a(Lbam;)V- intermediary - method_34763- Lnet/minecraft/class_5961;method_34763(Lnet/minecraft/class_3696;)V- named - dump- Lnet/minecraft/util/profiler/DebugRecorder;dump(Lnet/minecraft/util/profiler/ProfileResult;)V
 
- 
forceStop- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbbx;a(Ljava/util/Collection;)V- intermediary - method_41319- Lnet/minecraft/class_5961;method_41319(Ljava/util/Collection;)V- named - forceStop- Lnet/minecraft/util/profiler/DebugRecorder;forceStop(Ljava/util/Collection;)V
 
- 
setGlobalDumpConsumer- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbbx;a(Ljava/util/function/Consumer;)V- intermediary - method_35762- Lnet/minecraft/class_5961;method_35762(Ljava/util/function/Consumer;)V- named - setGlobalDumpConsumer- Lnet/minecraft/util/profiler/DebugRecorder;setGlobalDumpConsumer(Ljava/util/function/Consumer;)V
 
 
-