Package net.minecraft.util.profiler
Class Profiler.UnionProfiler
java.lang.Object
net.minecraft.util.profiler.Profiler.UnionProfiler
- All Implemented Interfaces:
Profiler
- Enclosing interface:
Profiler
- Mappings:
Namespace Name named net/minecraft/util/profiler/Profiler$UnionProfilerintermediary net/minecraft/class_3695$class_10211official brm$a
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.profiler.Profiler
Profiler.UnionProfiler -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddZoneText(String label) voidaddZoneValue(long value) voidendTick()voidmarkSampleType(SampleType type) voidpop()voidvoidvoidsetZoneColor(int color) voidvoidvoidvoidIncrement the visit count for a marker.voidIncrement the visit count for a marker.
-
Field Details
-
first
- Mappings:
Namespace Name Mixin selector named firstLnet/minecraft/util/profiler/Profiler$UnionProfiler;first:Lnet/minecraft/util/profiler/Profiler;intermediary field_21965Lnet/minecraft/class_3695$class_10211;field_21965:Lnet/minecraft/class_3695;official aLbrm$a;a:Lbrm;
-
second
- Mappings:
Namespace Name Mixin selector named secondLnet/minecraft/util/profiler/Profiler$UnionProfiler;second:Lnet/minecraft/util/profiler/Profiler;intermediary field_21966Lnet/minecraft/class_3695$class_10211;field_21966:Lnet/minecraft/class_3695;official cLbrm$a;c:Lbrm;
-
-
Constructor Details
-
UnionProfiler
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/util/profiler/Profiler$UnionProfiler;<init>(Lnet/minecraft/util/profiler/Profiler;Lnet/minecraft/util/profiler/Profiler;)Vintermediary <init>Lnet/minecraft/class_3695$class_10211;<init>(Lnet/minecraft/class_3695;Lnet/minecraft/class_3695;)Vofficial <init>Lbrm$a;<init>(Lbrm;Lbrm;)V
-
-
Method Details
-
startTick
public void startTick() -
endTick
public void endTick() -
push
-
push
- Specified by:
pushin interfaceProfiler- Mappings:
Namespace Name Mixin selector named pushLnet/minecraft/util/profiler/Profiler;push(Ljava/util/function/Supplier;)Vintermediary method_15400Lnet/minecraft/class_3695;method_15400(Ljava/util/function/Supplier;)Vofficial aLbrm;a(Ljava/util/function/Supplier;)V
-
markSampleType
- Specified by:
markSampleTypein interfaceProfiler- Mappings:
Namespace Name Mixin selector named markSampleTypeLnet/minecraft/util/profiler/Profiler;markSampleType(Lnet/minecraft/util/profiler/SampleType;)Vintermediary method_37167Lnet/minecraft/class_3695;method_37167(Lnet/minecraft/class_5949;)Vofficial aLbrm;a(Lbsv;)V
-
pop
public void pop() -
swap
-
swap
- Specified by:
swapin interfaceProfiler- Mappings:
Namespace Name Mixin selector named swapLnet/minecraft/util/profiler/Profiler;swap(Ljava/util/function/Supplier;)Vintermediary method_15403Lnet/minecraft/class_3695;method_15403(Ljava/util/function/Supplier;)Vofficial bLbrm;b(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 named visitLnet/minecraft/util/profiler/Profiler;visit(Ljava/lang/String;I)Vintermediary method_24270Lnet/minecraft/class_3695;method_24270(Ljava/lang/String;I)Vofficial aLbrm;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:
visitin interfaceProfiler- Parameters:
markerGetter- the getter for a unique marker- Mappings:
Namespace Name Mixin selector named visitLnet/minecraft/util/profiler/Profiler;visit(Ljava/util/function/Supplier;I)Vintermediary method_24271Lnet/minecraft/class_3695;method_24271(Ljava/util/function/Supplier;I)Vofficial aLbrm;a(Ljava/util/function/Supplier;I)V
-
addZoneText
- Specified by:
addZoneTextin interfaceProfiler- Mappings:
Namespace Name Mixin selector named addZoneTextLnet/minecraft/util/profiler/Profiler;addZoneText(Ljava/lang/String;)Vintermediary method_64155Lnet/minecraft/class_3695;method_64155(Ljava/lang/String;)Vofficial eLbrm;e(Ljava/lang/String;)V
-
addZoneValue
public void addZoneValue(long value) - Specified by:
addZoneValuein interfaceProfiler- Mappings:
Namespace Name Mixin selector named addZoneValueLnet/minecraft/util/profiler/Profiler;addZoneValue(J)Vintermediary method_64153Lnet/minecraft/class_3695;method_64153(J)Vofficial aLbrm;a(J)V
-
setZoneColor
public void setZoneColor(int color) - Specified by:
setZoneColorin interfaceProfiler- Mappings:
Namespace Name Mixin selector named setZoneColorLnet/minecraft/util/profiler/Profiler;setZoneColor(I)Vintermediary method_64152Lnet/minecraft/class_3695;method_64152(I)Vofficial aLbrm;a(I)V
-