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$UnionProfiler
intermediary net/minecraft/class_3695$class_10211
official bps$a
-
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
addZoneText
(String label) void
addZoneValue
(long value) void
endTick()
void
markSampleType
(SampleType type) void
pop()
void
void
void
setZoneColor
(int color) void
void
void
void
Increment the visit count for a marker.void
Increment the visit count for a marker.
-
Field Details
-
first
- Mappings:
Namespace Name Mixin selector named first
Lnet/minecraft/util/profiler/Profiler$UnionProfiler;first:Lnet/minecraft/util/profiler/Profiler;
intermediary field_21965
Lnet/minecraft/class_3695$class_10211;field_21965:Lnet/minecraft/class_3695;
official a
Lbps$a;a:Lbps;
-
second
- Mappings:
Namespace Name Mixin selector named second
Lnet/minecraft/util/profiler/Profiler$UnionProfiler;second:Lnet/minecraft/util/profiler/Profiler;
intermediary field_21966
Lnet/minecraft/class_3695$class_10211;field_21966:Lnet/minecraft/class_3695;
official c
Lbps$a;c:Lbps;
-
-
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;)V
intermediary <init>
Lnet/minecraft/class_3695$class_10211;<init>(Lnet/minecraft/class_3695;Lnet/minecraft/class_3695;)V
official <init>
Lbps$a;<init>(Lbps;Lbps;)V
-
-
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
-
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
-
addZoneText
- Specified by:
addZoneText
in interfaceProfiler
- Mappings:
Namespace Name Mixin selector named addZoneText
Lnet/minecraft/util/profiler/Profiler;addZoneText(Ljava/lang/String;)V
intermediary method_64155
Lnet/minecraft/class_3695;method_64155(Ljava/lang/String;)V
official e
Lbps;e(Ljava/lang/String;)V
-
addZoneValue
public void addZoneValue(long value) - Specified by:
addZoneValue
in interfaceProfiler
- Mappings:
Namespace Name Mixin selector named addZoneValue
Lnet/minecraft/util/profiler/Profiler;addZoneValue(J)V
intermediary method_64153
Lnet/minecraft/class_3695;method_64153(J)V
official a
Lbps;a(J)V
-
setZoneColor
public void setZoneColor(int color) - Specified by:
setZoneColor
in interfaceProfiler
- Mappings:
Namespace Name Mixin selector named setZoneColor
Lnet/minecraft/util/profiler/Profiler;setZoneColor(I)V
intermediary method_64152
Lnet/minecraft/class_3695;method_64152(I)V
official a
Lbps;a(I)V
-