Package net.minecraft.profiler
Class FilledProfileResult
java.lang.Object
net.minecraft.profiler.FilledProfileResult
- All Implemented Interfaces:
IProfileResult
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Comparator<Map.Entry<String,
FilledProfileResult.Section>> private static final IProfilerSection
private final long
private final int
private final Map<String,
? extends IProfilerSection> private static final org.apache.logging.log4j.Logger
private static final com.google.common.base.Splitter
private final long
private final int
private final int
-
Constructor Summary
ConstructorDescriptionFilledProfileResult
(Map<String, ? extends IProfilerSection> p_i50407_1_, long p_i50407_2_, int p_i50407_4_, long p_i50407_5_, int p_i50407_7_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
appendCounterResults
(int p_230095_1_, String p_230095_2_, FilledProfileResult.Section p_230095_3_, int p_230095_4_, StringBuilder p_230095_5_) private void
appendCounters
(Map<String, FilledProfileResult.Section> p_230102_1_, StringBuilder p_230102_2_, int p_230102_3_) private void
appendProfilerResults
(int p_219928_1_, String p_219928_2_, StringBuilder p_219928_3_) private static String
private Map<String,
FilledProfileResult.Section> long
int
private IProfilerSection
protected String
getProfilerResults
(long p_219929_1_, int p_219929_3_) long
int
int
private static StringBuilder
indentLine
(StringBuilder p_230098_0_, int p_230098_1_) private static boolean
isDirectChild
(String p_230097_0_, String p_230097_1_) boolean
saveResults
(File p_219919_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.profiler.IProfileResult
getNanoDuration
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
EMPTY
-
SPLITTER
private static final com.google.common.base.Splitter SPLITTER -
COUNTER_ENTRY_COMPARATOR
private static final Comparator<Map.Entry<String,FilledProfileResult.Section>> 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
-
FilledProfileResult
public FilledProfileResult(Map<String, ? extends IProfilerSection> p_i50407_1_, long p_i50407_2_, int p_i50407_4_, long p_i50407_5_, int p_i50407_7_)
-
-
Method Details
-
getEntry
-
getTimes
- Specified by:
getTimes
in interfaceIProfileResult
-
isDirectChild
-
getCounterValues
-
getStartTimeNano
public long getStartTimeNano()- Specified by:
getStartTimeNano
in interfaceIProfileResult
-
getStartTimeTicks
public int getStartTimeTicks()- Specified by:
getStartTimeTicks
in interfaceIProfileResult
-
getEndTimeNano
public long getEndTimeNano()- Specified by:
getEndTimeNano
in interfaceIProfileResult
-
getEndTimeTicks
public int getEndTimeTicks()- Specified by:
getEndTimeTicks
in interfaceIProfileResult
-
saveResults
- Specified by:
saveResults
in interfaceIProfileResult
-
getProfilerResults
-
indentLine
-
appendProfilerResults
-
appendCounterResults
private void appendCounterResults(int p_230095_1_, String p_230095_2_, FilledProfileResult.Section p_230095_3_, int p_230095_4_, StringBuilder p_230095_5_) -
appendCounters
private void appendCounters(Map<String, FilledProfileResult.Section> p_230102_1_, StringBuilder p_230102_2_, int p_230102_3_) -
getComment
-
getTickDuration
public int getTickDuration()- Specified by:
getTickDuration
in interfaceIProfileResult
-