Package net.minecraft.util.profiler
Class DummyProfiler
java.lang.Object
net.minecraft.util.profiler.DummyProfiler
- All Implemented Interfaces:
Profiler
,ReadableProfiler
- Mappings:
Namespace Name named net/minecraft/util/profiler/DummyProfiler
intermediary net/minecraft/class_3694
official bpo
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.profiler.Profiler
Profiler.UnionProfiler
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
endTick()
Returns a set of pairs of profiler location and sample kind.void
markSampleType
(SampleType type) void
pop()
void
void
void
void
void
void
Increment the visit count for a marker.void
Increment the visit count for a marker.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.util.profiler.Profiler
addZoneText, addZoneValue, setZoneColor, visit, visit
-
Field Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector named INSTANCE
Lnet/minecraft/util/profiler/DummyProfiler;INSTANCE:Lnet/minecraft/util/profiler/DummyProfiler;
intermediary field_16280
Lnet/minecraft/class_3694;field_16280:Lnet/minecraft/class_3694;
official a
Lbpo;a:Lbpo;
-
-
Constructor Details
-
DummyProfiler
private DummyProfiler()
-
-
Method Details
-
startTick
public void startTick() -
endTick
public void endTick() -
push
-
push
- Specified by:
push
in interfaceProfiler
- Mappings:
Namespace Name Mixin selector named push
Lnet/minecraft/util/profiler/Profiler;push(Ljava/util/function/Supplier;)V
intermediary method_15400
Lnet/minecraft/class_3695;method_15400(Ljava/util/function/Supplier;)V
official a
Lbps;a(Ljava/util/function/Supplier;)V
-
markSampleType
- Specified by:
markSampleType
in interfaceProfiler
- Mappings:
Namespace Name Mixin selector named markSampleType
Lnet/minecraft/util/profiler/Profiler;markSampleType(Lnet/minecraft/util/profiler/SampleType;)V
intermediary method_37167
Lnet/minecraft/class_3695;method_37167(Lnet/minecraft/class_5949;)V
official a
Lbps;a(Lbra;)V
-
pop
public void pop() -
swap
-
swap
- Specified by:
swap
in interfaceProfiler
- Mappings:
Namespace Name Mixin selector named swap
Lnet/minecraft/util/profiler/Profiler;swap(Ljava/util/function/Supplier;)V
intermediary method_15403
Lnet/minecraft/class_3695;method_15403(Ljava/util/function/Supplier;)V
official b
Lbps;b(Ljava/util/function/Supplier;)V
-
scoped
- Specified by:
scoped
in interfaceProfiler
- Mappings:
Namespace Name Mixin selector named scoped
Lnet/minecraft/util/profiler/Profiler;scoped(Ljava/lang/String;)Lnet/minecraft/util/profiler/ScopedProfiler;
intermediary method_64145
Lnet/minecraft/class_3695;method_64145(Ljava/lang/String;)Lnet/minecraft/class_10214;
official d
Lbps;d(Ljava/lang/String;)Lbpx;
-
scoped
- Specified by:
scoped
in interfaceProfiler
- Mappings:
Namespace Name Mixin selector named scoped
Lnet/minecraft/util/profiler/Profiler;scoped(Ljava/util/function/Supplier;)Lnet/minecraft/util/profiler/ScopedProfiler;
intermediary method_64144
Lnet/minecraft/class_3695;method_64144(Ljava/util/function/Supplier;)Lnet/minecraft/class_10214;
official c
Lbps;c(Ljava/util/function/Supplier;)Lbpx;
-
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:
visit
in interfaceProfiler
- Parameters:
marker
- a unique marker- Mappings:
Namespace Name Mixin selector named visit
Lnet/minecraft/util/profiler/Profiler;visit(Ljava/lang/String;I)V
intermediary method_24270
Lnet/minecraft/class_3695;method_24270(Ljava/lang/String;I)V
official a
Lbps;a(Ljava/lang/String;I)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:
visit
in interfaceProfiler
- Parameters:
markerGetter
- the getter for a unique marker- Mappings:
Namespace Name Mixin selector named visit
Lnet/minecraft/util/profiler/Profiler;visit(Ljava/util/function/Supplier;I)V
intermediary method_24271
Lnet/minecraft/class_3695;method_24271(Ljava/util/function/Supplier;I)V
official a
Lbps;a(Ljava/util/function/Supplier;I)V
-
getResult
- Specified by:
getResult
in interfaceReadableProfiler
- Mappings:
Namespace Name Mixin selector named getResult
Lnet/minecraft/util/profiler/ReadableProfiler;getResult()Lnet/minecraft/util/profiler/ProfileResult;
intermediary method_16064
Lnet/minecraft/class_3693;method_16064()Lnet/minecraft/class_3696;
official d
Lbpp;d()Lbpq;
-
getInfo
- Specified by:
getInfo
in interfaceReadableProfiler
- Mappings:
Namespace Name Mixin selector named getInfo
Lnet/minecraft/util/profiler/ReadableProfiler;getInfo(Ljava/lang/String;)Lnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;
intermediary method_34696
Lnet/minecraft/class_3693;method_34696(Ljava/lang/String;)Lnet/minecraft/class_3533$class_4746;
official c
Lbpp;c(Ljava/lang/String;)Lbpk$a;
-
getSampleTargets
Returns a set of pairs of profiler location and sample kind.- Specified by:
getSampleTargets
in interfaceReadableProfiler
- Returns:
- a set of pairs of profiler location and sample kind
- Mappings:
Namespace Name Mixin selector named getSampleTargets
Lnet/minecraft/util/profiler/ReadableProfiler;getSampleTargets()Ljava/util/Set;
intermediary method_37168
Lnet/minecraft/class_3693;method_37168()Ljava/util/Set;
official e
Lbpp;e()Ljava/util/Set;
-