Package net.minecraft.util.profiling
Class FilledProfileResults
java.lang.Object
net.minecraft.util.profiling.FilledProfileResults
- All Implemented Interfaces:
ProfileResults
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Comparator
<Map.Entry<String, FilledProfileResults.CounterCollector>> private static final ProfilerPathEntry
private final long
private final int
private final Map
<String, ? extends ProfilerPathEntry> private static final org.slf4j.Logger
private static final com.google.common.base.Splitter
private final long
private final int
private final int
Fields inherited from interface net.minecraft.util.profiling.ProfileResults
PATH_SEPARATOR
-
Constructor Summary
ConstructorDescriptionFilledProfileResults
(Map<String, ? extends ProfilerPathEntry> p_18464_, long p_18465_, int p_18466_, long p_18467_, int p_18468_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
appendCounterResults
(int p_18476_, String p_18477_, FilledProfileResults.CounterCollector p_18478_, int p_18479_, StringBuilder p_18480_) private void
appendCounters
(Map<String, FilledProfileResults.CounterCollector> p_18515_, StringBuilder p_18516_, int p_18517_) private void
appendProfilerResults
(int p_18482_, String p_18483_, StringBuilder p_18484_) private static String
long
int
private ProfilerPathEntry
protected String
getProfilerResults
(long p_18486_, int p_18487_) long
int
int
private static StringBuilder
indentLine
(StringBuilder p_18498_, int p_18499_) private static boolean
isDirectChild
(String p_18495_, String p_18496_) boolean
saveResults
(Path p_145940_) 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.ProfileResults
getNanoDuration
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
EMPTY
-
SPLITTER
private static final com.google.common.base.Splitter SPLITTER -
COUNTER_ENTRY_COMPARATOR
private static final Comparator<Map.Entry<String,FilledProfileResults.CounterCollector>> COUNTER_ENTRY_COMPARATOR -
entries
-
startTimeNano
private final long startTimeNano -
startTimeTicks
private final int startTimeTicks -
endTimeNano
private final long endTimeNano -
endTimeTicks
private final int endTimeTicks -
tickDuration
private final int tickDuration
-
-
Constructor Details
-
FilledProfileResults
public FilledProfileResults(Map<String, ? extends ProfilerPathEntry> p_18464_, long p_18465_, int p_18466_, long p_18467_, int p_18468_)
-
-
Method Details
-
getEntry
-
getTimes
- Specified by:
getTimes
in interfaceProfileResults
-
isDirectChild
-
getCounterValues
-
getStartTimeNano
public long getStartTimeNano()- Specified by:
getStartTimeNano
in interfaceProfileResults
-
getStartTimeTicks
public int getStartTimeTicks()- Specified by:
getStartTimeTicks
in interfaceProfileResults
-
getEndTimeNano
public long getEndTimeNano()- Specified by:
getEndTimeNano
in interfaceProfileResults
-
getEndTimeTicks
public int getEndTimeTicks()- Specified by:
getEndTimeTicks
in interfaceProfileResults
-
saveResults
- Specified by:
saveResults
in interfaceProfileResults
-
getProfilerResults
-
getProfilerResults
- Specified by:
getProfilerResults
in interfaceProfileResults
-
indentLine
-
appendProfilerResults
-
appendCounterResults
private void appendCounterResults(int p_18476_, String p_18477_, FilledProfileResults.CounterCollector p_18478_, int p_18479_, StringBuilder p_18480_) -
appendCounters
private void appendCounters(Map<String, FilledProfileResults.CounterCollector> p_18515_, StringBuilder p_18516_, int p_18517_) -
getComment
-
getTickDuration
public int getTickDuration()- Specified by:
getTickDuration
in interfaceProfileResults
-