Class DebugRecorder
java.lang.Object
net.minecraft.client.util.profiler.DebugRecorder
- All Implemented Interfaces:
Recorder
- Mappings:
Namespace Name official elb
intermediary net/minecraft/class_5961
named net/minecraft/client/util/profiler/DebugRecorder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ProfilerDumper
private Executor
static int
private long
private boolean
private ReadableProfiler
private Runnable
private int
private LongSupplier
private TickTimeTracker
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
DebugRecorder(LongSupplier timeGetter, Executor executor, ProfilerDumper dumper, Runnable readAction, Consumer<Path> completeAction)
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
static DebugRecorder
create(LongSupplier timeGetter, Executor executore, ProfilerDumper dumper, Runnable readAction, Consumer<Path> completeAction)
private void
private SamplerFactory
createFactory(String name)
private SamplingRecorder
createFrameTimeSampler(LongSupplier timeGetter)
private void
execute()
boolean
isActive()
static void
method_35762(Consumer<Path> consumer)
void
read()
void
sample()
void
start()
-
Field Details
-
field_32676
public static final int field_32676- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official a
Lelb;a:I
intermediary field_32676
Lnet/minecraft/class_5961;field_32676:I
named field_32676
Lnet/minecraft/client/util/profiler/DebugRecorder;field_32676:I
-
globalPathConsumer
- Mappings:
Namespace Name Mixin selector official b
Lelb;b:Ljava/util/function/Consumer;
intermediary field_29579
Lnet/minecraft/class_5961;field_29579:Ljava/util/function/Consumer;
named globalPathConsumer
Lnet/minecraft/client/util/profiler/DebugRecorder;globalPathConsumer:Ljava/util/function/Consumer;
-
categories
- Mappings:
Namespace Name Mixin selector official c
Lelb;c:Ljava/util/List;
intermediary field_29580
Lnet/minecraft/class_5961;field_29580:Ljava/util/List;
named categories
Lnet/minecraft/client/util/profiler/DebugRecorder;categories:Ljava/util/List;
-
timeTracker
- Mappings:
Namespace Name Mixin selector official d
Lelb;d:Lapg;
intermediary field_29581
Lnet/minecraft/class_5961;field_29581:Lnet/minecraft/class_4757;
named timeTracker
Lnet/minecraft/client/util/profiler/DebugRecorder;timeTracker:Lnet/minecraft/util/profiler/TickTimeTracker;
-
executor
- Mappings:
Namespace Name Mixin selector official e
Lelb;e:Ljava/util/concurrent/Executor;
intermediary field_29582
Lnet/minecraft/class_5961;field_29582:Ljava/util/concurrent/Executor;
named executor
Lnet/minecraft/client/util/profiler/DebugRecorder;executor:Ljava/util/concurrent/Executor;
-
dumper
- Mappings:
Namespace Name Mixin selector official f
Lelb;f:Lelk;
intermediary field_29583
Lnet/minecraft/class_5961;field_29583:Lnet/minecraft/class_5971;
named dumper
Lnet/minecraft/client/util/profiler/DebugRecorder;dumper:Lnet/minecraft/client/util/profiler/ProfilerDumper;
-
readAction
- Mappings:
Namespace Name Mixin selector official g
Lelb;g:Ljava/lang/Runnable;
intermediary field_29584
Lnet/minecraft/class_5961;field_29584:Ljava/lang/Runnable;
named readAction
Lnet/minecraft/client/util/profiler/DebugRecorder;readAction:Ljava/lang/Runnable;
-
pathConsumer
- Mappings:
Namespace Name Mixin selector official h
Lelb;h:Ljava/util/function/Consumer;
intermediary field_29585
Lnet/minecraft/class_5961;field_29585:Ljava/util/function/Consumer;
named pathConsumer
Lnet/minecraft/client/util/profiler/DebugRecorder;pathConsumer:Ljava/util/function/Consumer;
-
timeGetter
- Mappings:
Namespace Name Mixin selector official i
Lelb;i:Ljava/util/function/LongSupplier;
intermediary field_29586
Lnet/minecraft/class_5961;field_29586:Ljava/util/function/LongSupplier;
named timeGetter
Lnet/minecraft/client/util/profiler/DebugRecorder;timeGetter:Ljava/util/function/LongSupplier;
-
samples
- Mappings:
Namespace Name Mixin selector official j
Lelb;j:Ljava/util/List;
intermediary field_29587
Lnet/minecraft/class_5961;field_29587:Ljava/util/List;
named samples
Lnet/minecraft/client/util/profiler/DebugRecorder;samples:Ljava/util/List;
-
nanoStartTime
private final long nanoStartTime- Mappings:
Namespace Name Mixin selector official k
Lelb;k:J
intermediary field_29588
Lnet/minecraft/class_5961;field_29588:J
named nanoStartTime
Lnet/minecraft/client/util/profiler/DebugRecorder;nanoStartTime:J
-
ticks
private int ticks- Mappings:
Namespace Name Mixin selector official l
Lelb;l:I
intermediary field_29589
Lnet/minecraft/class_5961;field_29589:I
named ticks
Lnet/minecraft/client/util/profiler/DebugRecorder;ticks:I
-
profiler
- Mappings:
Namespace Name Mixin selector official m
Lelb;m:Lapk;
intermediary field_29590
Lnet/minecraft/class_5961;field_29590:Lnet/minecraft/class_3693;
named profiler
Lnet/minecraft/client/util/profiler/DebugRecorder;profiler:Lnet/minecraft/util/profiler/ReadableProfiler;
-
pendingRead
private volatile boolean pendingRead- Mappings:
Namespace Name Mixin selector official n
Lelb;n:Z
intermediary field_29591
Lnet/minecraft/class_5961;field_29591:Z
named pendingRead
Lnet/minecraft/client/util/profiler/DebugRecorder;pendingRead:Z
-
-
Constructor Details
-
DebugRecorder
private DebugRecorder(LongSupplier timeGetter, Executor executor, ProfilerDumper dumper, Runnable readAction, Consumer<Path> completeAction)- Mappings:
Namespace Name Mixin selector official <init>
Lelb;<init>(Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lelk;Ljava/lang/Runnable;Ljava/util/function/Consumer;)V
intermediary <init>
Lnet/minecraft/class_5961;<init>(Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/class_5971;Ljava/lang/Runnable;Ljava/util/function/Consumer;)V
named <init>
Lnet/minecraft/client/util/profiler/DebugRecorder;<init>(Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/client/util/profiler/ProfilerDumper;Ljava/lang/Runnable;Ljava/util/function/Consumer;)V
-
-
Method Details
-
create
public static DebugRecorder create(LongSupplier timeGetter, Executor executore, ProfilerDumper dumper, Runnable readAction, Consumer<Path> completeAction)- Mappings:
Namespace Name Mixin selector official a
Lelb;a(Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lelk;Ljava/lang/Runnable;Ljava/util/function/Consumer;)Lelb;
intermediary method_34760
Lnet/minecraft/class_5961;method_34760(Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/class_5971;Ljava/lang/Runnable;Ljava/util/function/Consumer;)Lnet/minecraft/class_5961;
named create
Lnet/minecraft/client/util/profiler/DebugRecorder;create(Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/client/util/profiler/ProfilerDumper;Ljava/lang/Runnable;Ljava/util/function/Consumer;)Lnet/minecraft/client/util/profiler/DebugRecorder;
-
createCategories
private void createCategories()- Mappings:
Namespace Name Mixin selector official f
Lelb;f()V
intermediary method_34761
Lnet/minecraft/class_5961;method_34761()V
named createCategories
Lnet/minecraft/client/util/profiler/DebugRecorder;createCategories()V
-
createFactory
- Mappings:
Namespace Name Mixin selector official a
Lelb;a(Ljava/lang/String;)Lelh;
intermediary method_34758
Lnet/minecraft/class_5961;method_34758(Ljava/lang/String;)Lnet/minecraft/class_5970;
named createFactory
Lnet/minecraft/client/util/profiler/DebugRecorder;createFactory(Ljava/lang/String;)Lnet/minecraft/client/util/profiler/SamplerFactory;
-
createFrameTimeSampler
- Mappings:
Namespace Name Mixin selector official a
Lelb;a(Ljava/util/function/LongSupplier;)Lelf;
intermediary method_34759
Lnet/minecraft/class_5961;method_34759(Ljava/util/function/LongSupplier;)Lnet/minecraft/class_5965;
named createFrameTimeSampler
Lnet/minecraft/client/util/profiler/DebugRecorder;createFrameTimeSampler(Ljava/util/function/LongSupplier;)Lnet/minecraft/client/util/profiler/SamplingRecorder;
-
sample
public void sample() -
start
public void start() -
read
public void read() -
isActive
public boolean isActive() -
getProfiler
- Specified by:
getProfiler
in interfaceRecorder
- Mappings:
Namespace Name Mixin selector official e
Lelc;e()Lapm;
intermediary method_34774
Lnet/minecraft/class_5962;method_34774()Lnet/minecraft/class_3695;
named getProfiler
Lnet/minecraft/client/util/profiler/Recorder;getProfiler()Lnet/minecraft/util/profiler/Profiler;
-
checkState
private void checkState()- Mappings:
Namespace Name Mixin selector official g
Lelb;g()V
intermediary method_34762
Lnet/minecraft/class_5961;method_34762()V
named checkState
Lnet/minecraft/client/util/profiler/DebugRecorder;checkState()V
-
execute
private void execute()- Mappings:
Namespace Name Mixin selector official h
Lelb;h()V
intermediary method_34763
Lnet/minecraft/class_5961;method_34763()V
named execute
Lnet/minecraft/client/util/profiler/DebugRecorder;execute()V
-
method_35762
- Mappings:
Namespace Name Mixin selector official a
Lelb;a(Ljava/util/function/Consumer;)V
intermediary method_35762
Lnet/minecraft/class_5961;method_35762(Ljava/util/function/Consumer;)V
named method_35762
Lnet/minecraft/client/util/profiler/DebugRecorder;method_35762(Ljava/util/function/Consumer;)V
-