Package net.minecraft.util.profiler
Class DummyProfiler
java.lang.Object
net.minecraft.util.profiler.DummyProfiler
- All Implemented Interfaces:
Profiler,ReadableProfiler
- Mappings:
Namespace Name official apjintermediary net/minecraft/class_3694named net/minecraft/util/profiler/DummyProfiler
-
Field Summary
FieldsFields inherited from interface net.minecraft.util.profiler.Profiler
field_29925 -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official aLapj;a:Lapj;intermediary field_16280Lnet/minecraft/class_3694;field_16280:Lnet/minecraft/class_3694;named INSTANCELnet/minecraft/util/profiler/DummyProfiler;INSTANCE:Lnet/minecraft/util/profiler/DummyProfiler;
-
-
Constructor Details
-
DummyProfiler
private DummyProfiler()
-
-
Method Details
-
startTick
public void startTick() -
endTick
public void endTick() -
push
-
push
- Specified by:
pushin interfaceProfiler- Mappings:
Namespace Name Mixin selector official aLapm;a(Ljava/util/function/Supplier;)Vintermediary method_15400Lnet/minecraft/class_3695;method_15400(Ljava/util/function/Supplier;)Vnamed pushLnet/minecraft/util/profiler/Profiler;push(Ljava/util/function/Supplier;)V
-
pop
public void pop() -
swap
-
swap
- Specified by:
swapin interfaceProfiler- Mappings:
Namespace Name Mixin selector official bLapm;b(Ljava/util/function/Supplier;)Vintermediary method_15403Lnet/minecraft/class_3695;method_15403(Ljava/util/function/Supplier;)Vnamed swapLnet/minecraft/util/profiler/Profiler;swap(Ljava/util/function/Supplier;)V
-
visit
Increment the visit count for a marker.This is useful to keep track of number of calls made to performance- wise expensive methods.
- Specified by:
visitin interfaceProfiler- Parameters:
marker- a unique marker- Mappings:
Namespace Name Mixin selector official cLapm;c(Ljava/lang/String;)Vintermediary method_24270Lnet/minecraft/class_3695;method_24270(Ljava/lang/String;)Vnamed visitLnet/minecraft/util/profiler/Profiler;visit(Ljava/lang/String;)V
-
visit
Increment the visit count for a marker.This is useful to keep track of number of calls made to performance- wise expensive methods.
This method is preferred if getting the marker is costly; the supplier won't be called if the profiler is disabled.
- Specified by:
visitin interfaceProfiler- Parameters:
markerGetter- the getter for a unique marker- Mappings:
Namespace Name Mixin selector official cLapm;c(Ljava/util/function/Supplier;)Vintermediary method_24271Lnet/minecraft/class_3695;method_24271(Ljava/util/function/Supplier;)Vnamed visitLnet/minecraft/util/profiler/Profiler;visit(Ljava/util/function/Supplier;)V
-
getResult
- Specified by:
getResultin interfaceReadableProfiler- Mappings:
Namespace Name Mixin selector official dLapk;d()Lapl;intermediary method_16064Lnet/minecraft/class_3693;method_16064()Lnet/minecraft/class_3696;named getResultLnet/minecraft/util/profiler/ReadableProfiler;getResult()Lnet/minecraft/util/profiler/ProfileResult;
-
getInfo
- Specified by:
getInfoin interfaceReadableProfiler- Mappings:
Namespace Name Mixin selector official dLapk;d(Ljava/lang/String;)Lapf$a;intermediary method_34696Lnet/minecraft/class_3693;method_34696(Ljava/lang/String;)Lnet/minecraft/class_3533$class_4746;named getInfoLnet/minecraft/util/profiler/ReadableProfiler;getInfo(Ljava/lang/String;)Lnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;
-