Package net.minecraft.util.profiler
Interface Profiler
- All Known Subinterfaces:
- ReadableProfiler
- All Known Implementing Classes:
- DummyProfiler,- ProfilerSystem
public interface Profiler
- Mappings:
- Namespace - Name - official - ban- intermediary - net/minecraft/class_3695- named - net/minecraft/util/profiler/Profiler
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionvoidendTick()voidmarkSampleType(SampleType type) voidpop()voidvoidvoidvoidvoidstatic Profilerdefault voidvoidIncrement the visit count for a marker.default voidvoidIncrement the visit count for a marker.
- 
Field Details- 
ROOT_NAME- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lban;b:Ljava/lang/String;- intermediary - field_29925- Lnet/minecraft/class_3695;field_29925:Ljava/lang/String;- named - ROOT_NAME- Lnet/minecraft/util/profiler/Profiler;ROOT_NAME:Ljava/lang/String;
 
 
- 
- 
Method Details- 
startTickvoid startTick()- Mappings:
- Namespace - Name - Mixin selector - official - a- Lban;a()V- intermediary - method_16065- Lnet/minecraft/class_3695;method_16065()V- named - startTick- Lnet/minecraft/util/profiler/Profiler;startTick()V
 
- 
endTickvoid endTick()- Mappings:
- Namespace - Name - Mixin selector - official - b- Lban;b()V- intermediary - method_16066- Lnet/minecraft/class_3695;method_16066()V- named - endTick- Lnet/minecraft/util/profiler/Profiler;endTick()V
 
- 
push- Mappings:
- Namespace - Name - Mixin selector - official - a- Lban;a(Ljava/lang/String;)V- intermediary - method_15396- Lnet/minecraft/class_3695;method_15396(Ljava/lang/String;)V- named - push- Lnet/minecraft/util/profiler/Profiler;push(Ljava/lang/String;)V
 
- 
push- Mappings:
- Namespace - Name - Mixin selector - official - a- Lban;a(Ljava/util/function/Supplier;)V- intermediary - method_15400- Lnet/minecraft/class_3695;method_15400(Ljava/util/function/Supplier;)V- named - push- Lnet/minecraft/util/profiler/Profiler;push(Ljava/util/function/Supplier;)V
 
- 
popvoid pop()- Mappings:
- Namespace - Name - Mixin selector - official - c- Lban;c()V- intermediary - method_15407- Lnet/minecraft/class_3695;method_15407()V- named - pop- Lnet/minecraft/util/profiler/Profiler;pop()V
 
- 
swap- Mappings:
- Namespace - Name - Mixin selector - official - b- Lban;b(Ljava/lang/String;)V- intermediary - method_15405- Lnet/minecraft/class_3695;method_15405(Ljava/lang/String;)V- named - swap- Lnet/minecraft/util/profiler/Profiler;swap(Ljava/lang/String;)V
 
- 
swap- Mappings:
- Namespace - Name - Mixin selector - official - b- Lban;b(Ljava/util/function/Supplier;)V- intermediary - method_15403- Lnet/minecraft/class_3695;method_15403(Ljava/util/function/Supplier;)V- named - swap- Lnet/minecraft/util/profiler/Profiler;swap(Ljava/util/function/Supplier;)V
 
- 
markSampleType- Mappings:
- Namespace - Name - Mixin selector - official - a- Lban;a(Lbbr;)V- intermediary - method_37167- Lnet/minecraft/class_3695;method_37167(Lnet/minecraft/class_5949;)V- named - markSampleType- Lnet/minecraft/util/profiler/Profiler;markSampleType(Lnet/minecraft/util/profiler/SampleType;)V
 
- 
visit- Mappings:
- Namespace - Name - Mixin selector - official - d- Lban;d(Ljava/lang/String;)V- intermediary - method_39278- Lnet/minecraft/class_3695;method_39278(Ljava/lang/String;)V- named - visit- Lnet/minecraft/util/profiler/Profiler;visit(Ljava/lang/String;)V
 
- 
visitIncrement the visit count for a marker.This is useful to keep track of number of calls made to performance- wise expensive methods. - Parameters:
- marker- a unique marker
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lban;a(Ljava/lang/String;I)V- intermediary - method_24270- Lnet/minecraft/class_3695;method_24270(Ljava/lang/String;I)V- named - visit- Lnet/minecraft/util/profiler/Profiler;visit(Ljava/lang/String;I)V
 
- 
visit- Mappings:
- Namespace - Name - Mixin selector - official - c- Lban;c(Ljava/util/function/Supplier;)V- intermediary - method_39277- Lnet/minecraft/class_3695;method_39277(Ljava/util/function/Supplier;)V- named - visit- Lnet/minecraft/util/profiler/Profiler;visit(Ljava/util/function/Supplier;)V
 
- 
visitIncrement 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. - Parameters:
- markerGetter- the getter for a unique marker
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lban;a(Ljava/util/function/Supplier;I)V- intermediary - method_24271- Lnet/minecraft/class_3695;method_24271(Ljava/util/function/Supplier;I)V- named - visit- Lnet/minecraft/util/profiler/Profiler;visit(Ljava/util/function/Supplier;I)V
 
- 
union- Mappings:
- Namespace - Name - Mixin selector - official - a- Lban;a(Lban;Lban;)Lban;- intermediary - method_24338- Lnet/minecraft/class_3695;method_24338(Lnet/minecraft/class_3695;Lnet/minecraft/class_3695;)Lnet/minecraft/class_3695;- named - union- Lnet/minecraft/util/profiler/Profiler;union(Lnet/minecraft/util/profiler/Profiler;Lnet/minecraft/util/profiler/Profiler;)Lnet/minecraft/util/profiler/Profiler;
 
 
-