net.minecraft.util.profiler

public class ProfileResultImpl

implements ProfileResult

net.minecraft.util.profiling.FilledProfileResults
net.minecraft.class_3692
net.minecraft.util.profiler.ProfileResultImpl

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_16279
LOGGER
private static final ProfileLocationInfo
EMPTY
field_21823
EMPTY_INFO
private static final com.google.common.base.Splitter
SPLITTER
field_21824
SPLITTER
private static final Comparator<Map$Entry<String, ProfileResultImpl$CounterInfo>>
COUNTER_ENTRY_COMPARATOR
field_21825
COMPARATOR
private final Map<String, ? extends ProfileLocationInfo>
entries
field_21826
locationInfos
private final long
startTimeNano
field_16278
startTime
private final int
startTimeTicks
field_16275
startTick
private final long
endTimeNano
field_16276
endTime
private final int
endTimeTicks
field_16274
endTick
private final int
tickDuration
field_19383
tickDuration

Constructor summary

ModifierConstructor
public (Map<String, ? extends ProfileLocationInfo> locationInfos, long startTime, int startTick, long endTime, int endTick)

Method summary

Modifier and TypeMethod
private ProfileLocationInfo
getEntry(String path)
method_24262(String arg0)
getInfo(String path)
public List<ProfilerTiming>
getTimes(String path)
method_16067(String arg0)
getTimings(String arg0)
private static boolean
isDirectChild(String path, String test)
method_24255(String arg0, String arg1)
isSubpath(String parent, String path)
private Map<String, ProfileResultImpl$CounterInfo>
getCounterValues()
method_24264()
setupCounters()
public long
getStartTimeNano()
method_16068()
getStartTime()
public int
getStartTimeTicks()
method_16072()
getStartTick()
public long
getEndTimeNano()
method_16073()
getEndTime()
public int
getEndTimeTicks()
method_16070()
getEndTick()
public boolean
saveResults(Path file)
method_16069(Path arg0)
save(Path arg0)
protected String
getProfilerResults(long timespan, int tickspan)
method_16063(long arg0, int arg1)
asString(long timeSpan, int tickSpan)
public String
getProfilerResults()
method_34970()
getRootTimings()
private static StringBuilder
indentLine(StringBuilder builder, int depth)
method_24256(StringBuilder arg0, int arg1)
indent(StringBuilder sb, int size)
private void
appendProfilerResults(int depth, String path, StringBuilder builder)
method_16061(int arg0, String arg1, StringBuilder arg2)
appendTiming(int level, String name, StringBuilder sb)
private void
appendCounterResults(int depth, String name, FilledProfileResults$CounterCollector result, int tickspan, StringBuilder builder)
method_24253(int arg0, String arg1, class_3692$class_4747 arg2, int arg3, StringBuilder arg4)
appendCounter(int depth, String name, ProfileResultImpl$CounterInfo info, int tickSpan, StringBuilder sb)
private void
appendCounters(Map<String, FilledProfileResults$CounterCollector> counters, StringBuilder builder, int tickspan)
method_24260(Map<String, class_3692$class_4747> arg0, StringBuilder arg1, int arg2)
appendCounterDump(Map<String, ProfileResultImpl$CounterInfo> counters, StringBuilder sb, int tickSpan)
public int
getTickDuration()
method_16074()
getTickSpan()
private void
lambda$appendCounters$6(StringBuilder arg0, int arg1, String arg2, FilledProfileResults$CounterCollector arg3)
method_24257(StringBuilder arg0, int arg1, String arg2, class_3692$class_4747 arg3)
method_24257(StringBuilder arg0, int arg1, String name, ProfileResultImpl$CounterInfo info)
private void
lambda$appendCounterResults$5(int arg0, int arg1, StringBuilder arg2, Map$Entry arg3)
method_24252(int arg0, int arg1, StringBuilder arg2, Map$Entry arg3)
method_24252(int arg0, int arg1, StringBuilder arg2, Map$Entry entry)
private void
lambda$appendProfilerResults$4(StringBuilder arg0, int arg1, String arg2, long arg3)
method_24258(StringBuilder arg0, int arg1, String arg2, long arg3)
method_24258(StringBuilder arg0, int arg1, String marker, long count)
private static void
lambda$getCounterValues$3(Map arg0, String arg1, ProfilerPathEntry arg2)
method_24259(Map arg0, String arg1, class_4748 arg2)
method_24259(Map arg0, String location, ProfileLocationInfo info)
private static void
lambda$getCounterValues$2(Map arg0, List arg1, String arg2, long arg3)
method_24261(Map arg0, List arg1, String arg2, long arg3)
method_24261(Map arg0, List arg1, String marker, long count)
private static ProfileResultImpl$CounterInfo
lambda$getCounterValues$1(String arg0)
method_24263(String arg0)
method_24263(String k)
private static long
lambda$static$0(FilledProfileResults$CounterCollector arg0)
method_24254(class_3692$class_4747 arg0)
method_24254(ProfileResultImpl$CounterInfo info)