Package net.minecraft.util.profiling
Class InactiveProfiler
java.lang.Object
net.minecraft.util.profiling.InactiveProfiler
- All Implemented Interfaces:
ProfileCollector
,ProfilerFiller
-
Field Summary
FieldsFields inherited from interface net.minecraft.util.profiling.ProfilerFiller
ROOT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
endTick()
Set
<org.apache.commons.lang3.tuple.Pair<String, MetricCategory>> void
incrementCounter
(String pCounterName, int pIncrement) void
incrementCounter
(Supplier<String> pCounterNameSupplier, int pIncrement) void
markForCharting
(MetricCategory pCategory) void
pop()
void
void
void
Start sectionvoid
void
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.profiling.ProfilerFiller
incrementCounter, incrementCounter
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
InactiveProfiler
private InactiveProfiler()
-
-
Method Details
-
startTick
public void startTick()- Specified by:
startTick
in interfaceProfilerFiller
-
endTick
public void endTick()- Specified by:
endTick
in interfaceProfilerFiller
-
push
Start section- Specified by:
push
in interfaceProfilerFiller
-
push
- Specified by:
push
in interfaceProfilerFiller
-
markForCharting
- Specified by:
markForCharting
in interfaceProfilerFiller
-
pop
public void pop()- Specified by:
pop
in interfaceProfilerFiller
-
popPush
- Specified by:
popPush
in interfaceProfilerFiller
-
popPush
- Specified by:
popPush
in interfaceProfilerFiller
-
incrementCounter
- Specified by:
incrementCounter
in interfaceProfilerFiller
-
incrementCounter
- Specified by:
incrementCounter
in interfaceProfilerFiller
-
getResults
- Specified by:
getResults
in interfaceProfileCollector
-
getEntry
- Specified by:
getEntry
in interfaceProfileCollector
-
getChartedPaths
- Specified by:
getChartedPaths
in interfaceProfileCollector
-