Package net.minecraft.util.profiler
Class TracyProfiler
java.lang.Object
net.minecraft.util.profiler.TracyProfiler
- All Implemented Interfaces:
 Profiler
- Mappings:
 Namespace Name named net/minecraft/util/profiler/TracyProfilerintermediary net/minecraft/class_10212official btx
- 
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.util.profiler.Profiler
Profiler.UnionProfiler - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Loggerprivate final Map<String, TracyProfiler.Marker> private static final StackWalkerprivate final Stringprivate final List<com.mojang.jtracy.Zone>  - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddZoneText(String label) voidaddZoneValue(long value) voidendTick()private com.mojang.jtracy.ZonevoidmarkSampleType(SampleType type) voidpop()voidvoidvoidsetZoneColor(int color) voidvoidvoidvoidIncrement the visit count for a marker.voidIncrement the visit count for a marker. 
- 
Field Details
- 
LOGGER
- Mappings:
 Namespace Name Mixin selector named LOGGERLnet/minecraft/util/profiler/TracyProfiler;LOGGER:Lorg/slf4j/Logger;intermediary field_54218Lnet/minecraft/class_10212;field_54218:Lorg/slf4j/Logger;official aLbtx;a:Lorg/slf4j/Logger;
 - 
STACK_WALKER
- Mappings:
 Namespace Name Mixin selector named STACK_WALKERLnet/minecraft/util/profiler/TracyProfiler;STACK_WALKER:Ljava/lang/StackWalker;intermediary field_54219Lnet/minecraft/class_10212;field_54219:Ljava/lang/StackWalker;official cLbtx;c:Ljava/lang/StackWalker;
 - 
zones
- Mappings:
 Namespace Name Mixin selector named zonesLnet/minecraft/util/profiler/TracyProfiler;zones:Ljava/util/List;intermediary field_54220Lnet/minecraft/class_10212;field_54220:Ljava/util/List;official dLbtx;d:Ljava/util/List;
 - 
markers
- Mappings:
 Namespace Name Mixin selector named markersLnet/minecraft/util/profiler/TracyProfiler;markers:Ljava/util/Map;intermediary field_54221Lnet/minecraft/class_10212;field_54221:Ljava/util/Map;official eLbtx;e:Ljava/util/Map;
 - 
threadName
- Mappings:
 Namespace Name Mixin selector named threadNameLnet/minecraft/util/profiler/TracyProfiler;threadName:Ljava/lang/String;intermediary field_54222Lnet/minecraft/class_10212;field_54222:Ljava/lang/String;official fLbtx;f:Ljava/lang/String;
 
 - 
 - 
Constructor Details
- 
TracyProfiler
public TracyProfiler() 
 - 
 - 
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 aLbtt;a(Ljava/util/function/Supplier;)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 bLbtt;b(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 aLbtt;a(Lbvc;)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 aLbtt;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 aLbtt;a(Ljava/util/function/Supplier;I)V
 - 
getCurrentZone
private com.mojang.jtracy.Zone getCurrentZone()- Mappings:
 Namespace Name Mixin selector named getCurrentZoneLnet/minecraft/util/profiler/TracyProfiler;getCurrentZone()Lcom/mojang/jtracy/Zone;intermediary method_64159Lnet/minecraft/class_10212;method_64159()Lcom/mojang/jtracy/Zone;official dLbtx;d()Lcom/mojang/jtracy/Zone;
 - 
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 eLbtt;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 aLbtt;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 aLbtt;a(I)V
 
 -