Package net.minecraft.util.profiler
Class ProfileResultImpl
java.lang.Object
net.minecraft.util.profiler.ProfileResultImpl
- All Implemented Interfaces:
ProfileResult
- Mappings:
Namespace Name named net/minecraft/util/profiler/ProfileResultImpl
intermediary net/minecraft/class_3692
official bna
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Comparator
<Map.Entry<String, ProfileResultImpl.CounterInfo>> private static final ProfileLocationInfo
private final int
private final long
private final Map
<String, ? extends ProfileLocationInfo> private static final Logger
private static final Splitter
private final int
private final long
private final int
Fields inherited from interface net.minecraft.util.profiler.ProfileResult
SPLITTER_CHAR
-
Constructor Summary
ConstructorDescriptionProfileResultImpl
(Map<String, ? extends ProfileLocationInfo> locationInfos, long startTime, int startTick, long endTime, int endTick) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
appendCounter
(int depth, String name, ProfileResultImpl.CounterInfo info, int tickSpan, StringBuilder sb) private void
appendCounterDump
(Map<String, ProfileResultImpl.CounterInfo> counters, StringBuilder sb, int tickSpan) private void
appendTiming
(int level, String name, StringBuilder sb) protected String
asString
(long timeSpan, int tickSpan) int
long
private ProfileLocationInfo
int
long
int
getTimings
(String parentPath) private static StringBuilder
indent
(StringBuilder sb, int size) private static boolean
boolean
private Map
<String, ProfileResultImpl.CounterInfo> 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.profiler.ProfileResult
getTimeSpan
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/util/profiler/ProfileResultImpl;LOGGER:Lorg/slf4j/Logger;
intermediary field_16279
Lnet/minecraft/class_3692;field_16279:Lorg/slf4j/Logger;
official a
Lbna;a:Lorg/slf4j/Logger;
-
EMPTY_INFO
- Mappings:
Namespace Name Mixin selector named EMPTY_INFO
Lnet/minecraft/util/profiler/ProfileResultImpl;EMPTY_INFO:Lnet/minecraft/util/profiler/ProfileLocationInfo;
intermediary field_21823
Lnet/minecraft/class_3692;field_21823:Lnet/minecraft/class_4748;
official b
Lbna;b:Lbnf;
-
SPLITTER
- Mappings:
Namespace Name Mixin selector named SPLITTER
Lnet/minecraft/util/profiler/ProfileResultImpl;SPLITTER:Lcom/google/common/base/Splitter;
intermediary field_21824
Lnet/minecraft/class_3692;field_21824:Lcom/google/common/base/Splitter;
official c
Lbna;c:Lcom/google/common/base/Splitter;
-
COMPARATOR
- Mappings:
Namespace Name Mixin selector named COMPARATOR
Lnet/minecraft/util/profiler/ProfileResultImpl;COMPARATOR:Ljava/util/Comparator;
intermediary field_21825
Lnet/minecraft/class_3692;field_21825:Ljava/util/Comparator;
official e
Lbna;e:Ljava/util/Comparator;
-
locationInfos
- Mappings:
Namespace Name Mixin selector named locationInfos
Lnet/minecraft/util/profiler/ProfileResultImpl;locationInfos:Ljava/util/Map;
intermediary field_21826
Lnet/minecraft/class_3692;field_21826:Ljava/util/Map;
official f
Lbna;f:Ljava/util/Map;
-
startTime
private final long startTime- Mappings:
Namespace Name Mixin selector named startTime
Lnet/minecraft/util/profiler/ProfileResultImpl;startTime:J
intermediary field_16278
Lnet/minecraft/class_3692;field_16278:J
official g
Lbna;g:J
-
startTick
private final int startTick- Mappings:
Namespace Name Mixin selector named startTick
Lnet/minecraft/util/profiler/ProfileResultImpl;startTick:I
intermediary field_16275
Lnet/minecraft/class_3692;field_16275:I
official h
Lbna;h:I
-
endTime
private final long endTime- Mappings:
Namespace Name Mixin selector named endTime
Lnet/minecraft/util/profiler/ProfileResultImpl;endTime:J
intermediary field_16276
Lnet/minecraft/class_3692;field_16276:J
official i
Lbna;i:J
-
endTick
private final int endTick- Mappings:
Namespace Name Mixin selector named endTick
Lnet/minecraft/util/profiler/ProfileResultImpl;endTick:I
intermediary field_16274
Lnet/minecraft/class_3692;field_16274:I
official j
Lbna;j:I
-
tickDuration
private final int tickDuration- Mappings:
Namespace Name Mixin selector named tickDuration
Lnet/minecraft/util/profiler/ProfileResultImpl;tickDuration:I
intermediary field_19383
Lnet/minecraft/class_3692;field_19383:I
official k
Lbna;k:I
-
-
Constructor Details
-
ProfileResultImpl
public ProfileResultImpl(Map<String, ? extends ProfileLocationInfo> locationInfos, long startTime, int startTick, long endTime, int endTick) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/profiler/ProfileResultImpl;<init>(Ljava/util/Map;JIJI)V
intermediary <init>
Lnet/minecraft/class_3692;<init>(Ljava/util/Map;JIJI)V
official <init>
Lbna;<init>(Ljava/util/Map;JIJI)V
-
-
Method Details
-
getInfo
- Mappings:
Namespace Name Mixin selector named getInfo
Lnet/minecraft/util/profiler/ProfileResultImpl;getInfo(Ljava/lang/String;)Lnet/minecraft/util/profiler/ProfileLocationInfo;
intermediary method_24262
Lnet/minecraft/class_3692;method_24262(Ljava/lang/String;)Lnet/minecraft/class_4748;
official c
Lbna;c(Ljava/lang/String;)Lbnf;
-
getTimings
- Specified by:
getTimings
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector named getTimings
Lnet/minecraft/util/profiler/ProfileResult;getTimings(Ljava/lang/String;)Ljava/util/List;
intermediary method_16067
Lnet/minecraft/class_3696;method_16067(Ljava/lang/String;)Ljava/util/List;
official a
Lbnd;a(Ljava/lang/String;)Ljava/util/List;
-
isSubpath
- Mappings:
Namespace Name Mixin selector named isSubpath
Lnet/minecraft/util/profiler/ProfileResultImpl;isSubpath(Ljava/lang/String;Ljava/lang/String;)Z
intermediary method_24255
Lnet/minecraft/class_3692;method_24255(Ljava/lang/String;Ljava/lang/String;)Z
official a
Lbna;a(Ljava/lang/String;Ljava/lang/String;)Z
-
setupCounters
- Mappings:
Namespace Name Mixin selector named setupCounters
Lnet/minecraft/util/profiler/ProfileResultImpl;setupCounters()Ljava/util/Map;
intermediary method_24264
Lnet/minecraft/class_3692;method_24264()Ljava/util/Map;
official h
Lbna;h()Ljava/util/Map;
-
getStartTime
public long getStartTime()- Specified by:
getStartTime
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector named getStartTime
Lnet/minecraft/util/profiler/ProfileResult;getStartTime()J
intermediary method_16068
Lnet/minecraft/class_3696;method_16068()J
official a
Lbnd;a()J
-
getStartTick
public int getStartTick()- Specified by:
getStartTick
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector named getStartTick
Lnet/minecraft/util/profiler/ProfileResult;getStartTick()I
intermediary method_16072
Lnet/minecraft/class_3696;method_16072()I
official b
Lbnd;b()I
-
getEndTime
public long getEndTime()- Specified by:
getEndTime
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector named getEndTime
Lnet/minecraft/util/profiler/ProfileResult;getEndTime()J
intermediary method_16073
Lnet/minecraft/class_3696;method_16073()J
official c
Lbnd;c()J
-
getEndTick
public int getEndTick()- Specified by:
getEndTick
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector named getEndTick
Lnet/minecraft/util/profiler/ProfileResult;getEndTick()I
intermediary method_16070
Lnet/minecraft/class_3696;method_16070()I
official d
Lbnd;d()I
-
save
- Specified by:
save
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector named save
Lnet/minecraft/util/profiler/ProfileResult;save(Ljava/nio/file/Path;)Z
intermediary method_16069
Lnet/minecraft/class_3696;method_16069(Ljava/nio/file/Path;)Z
official a
Lbnd;a(Ljava/nio/file/Path;)Z
-
asString
- Mappings:
Namespace Name Mixin selector named asString
Lnet/minecraft/util/profiler/ProfileResultImpl;asString(JI)Ljava/lang/String;
intermediary method_16063
Lnet/minecraft/class_3692;method_16063(JI)Ljava/lang/String;
official a
Lbna;a(JI)Ljava/lang/String;
-
getRootTimings
- Specified by:
getRootTimings
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector named getRootTimings
Lnet/minecraft/util/profiler/ProfileResult;getRootTimings()Ljava/lang/String;
intermediary method_34970
Lnet/minecraft/class_3696;method_34970()Ljava/lang/String;
official e
Lbnd;e()Ljava/lang/String;
-
indent
- Mappings:
Namespace Name Mixin selector named indent
Lnet/minecraft/util/profiler/ProfileResultImpl;indent(Ljava/lang/StringBuilder;I)Ljava/lang/StringBuilder;
intermediary method_24256
Lnet/minecraft/class_3692;method_24256(Ljava/lang/StringBuilder;I)Ljava/lang/StringBuilder;
official a
Lbna;a(Ljava/lang/StringBuilder;I)Ljava/lang/StringBuilder;
-
appendTiming
- Mappings:
Namespace Name Mixin selector named appendTiming
Lnet/minecraft/util/profiler/ProfileResultImpl;appendTiming(ILjava/lang/String;Ljava/lang/StringBuilder;)V
intermediary method_16061
Lnet/minecraft/class_3692;method_16061(ILjava/lang/String;Ljava/lang/StringBuilder;)V
official a
Lbna;a(ILjava/lang/String;Ljava/lang/StringBuilder;)V
-
appendCounter
private void appendCounter(int depth, String name, ProfileResultImpl.CounterInfo info, int tickSpan, StringBuilder sb) - Mappings:
Namespace Name Mixin selector named appendCounter
Lnet/minecraft/util/profiler/ProfileResultImpl;appendCounter(ILjava/lang/String;Lnet/minecraft/util/profiler/ProfileResultImpl$CounterInfo;ILjava/lang/StringBuilder;)V
intermediary method_24253
Lnet/minecraft/class_3692;method_24253(ILjava/lang/String;Lnet/minecraft/class_3692$class_4747;ILjava/lang/StringBuilder;)V
official a
Lbna;a(ILjava/lang/String;Lbna$a;ILjava/lang/StringBuilder;)V
-
appendCounterDump
private void appendCounterDump(Map<String, ProfileResultImpl.CounterInfo> counters, StringBuilder sb, int tickSpan) - Mappings:
Namespace Name Mixin selector named appendCounterDump
Lnet/minecraft/util/profiler/ProfileResultImpl;appendCounterDump(Ljava/util/Map;Ljava/lang/StringBuilder;I)V
intermediary method_24260
Lnet/minecraft/class_3692;method_24260(Ljava/util/Map;Ljava/lang/StringBuilder;I)V
official a
Lbna;a(Ljava/util/Map;Ljava/lang/StringBuilder;I)V
-
getTickSpan
public int getTickSpan()- Specified by:
getTickSpan
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector named getTickSpan
Lnet/minecraft/util/profiler/ProfileResult;getTickSpan()I
intermediary method_16074
Lnet/minecraft/class_3696;method_16074()I
official f
Lbnd;f()I
-