Package net.minecraft.util.profiler
Class ProfileResultImpl
java.lang.Object
net.minecraft.util.profiler.ProfileResultImpl
- All Implemented Interfaces:
ProfileResult
- Mappings:
Namespace Name official arw
intermediary net/minecraft/class_3692
named net/minecraft/util/profiler/ProfileResultImpl
-
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) private static String
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 official a
Larw;a:Lorg/apache/logging/log4j/Logger;
intermediary field_16279
Lnet/minecraft/class_3692;field_16279:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/util/profiler/ProfileResultImpl;LOGGER:Lorg/apache/logging/log4j/Logger;
-
EMPTY_INFO
- Mappings:
Namespace Name Mixin selector official b
Larw;b:Lasb;
intermediary field_21823
Lnet/minecraft/class_3692;field_21823:Lnet/minecraft/class_4748;
named EMPTY_INFO
Lnet/minecraft/util/profiler/ProfileResultImpl;EMPTY_INFO:Lnet/minecraft/util/profiler/ProfileLocationInfo;
-
SPLITTER
- Mappings:
Namespace Name Mixin selector official c
Larw;c:Lcom/google/common/base/Splitter;
intermediary field_21824
Lnet/minecraft/class_3692;field_21824:Lcom/google/common/base/Splitter;
named SPLITTER
Lnet/minecraft/util/profiler/ProfileResultImpl;SPLITTER:Lcom/google/common/base/Splitter;
-
COMPARATOR
- Mappings:
Namespace Name Mixin selector official e
Larw;e:Ljava/util/Comparator;
intermediary field_21825
Lnet/minecraft/class_3692;field_21825:Ljava/util/Comparator;
named COMPARATOR
Lnet/minecraft/util/profiler/ProfileResultImpl;COMPARATOR:Ljava/util/Comparator;
-
locationInfos
- Mappings:
Namespace Name Mixin selector official f
Larw;f:Ljava/util/Map;
intermediary field_21826
Lnet/minecraft/class_3692;field_21826:Ljava/util/Map;
named locationInfos
Lnet/minecraft/util/profiler/ProfileResultImpl;locationInfos:Ljava/util/Map;
-
startTime
private final long startTime- Mappings:
Namespace Name Mixin selector official g
Larw;g:J
intermediary field_16278
Lnet/minecraft/class_3692;field_16278:J
named startTime
Lnet/minecraft/util/profiler/ProfileResultImpl;startTime:J
-
startTick
private final int startTick- Mappings:
Namespace Name Mixin selector official h
Larw;h:I
intermediary field_16275
Lnet/minecraft/class_3692;field_16275:I
named startTick
Lnet/minecraft/util/profiler/ProfileResultImpl;startTick:I
-
endTime
private final long endTime- Mappings:
Namespace Name Mixin selector official i
Larw;i:J
intermediary field_16276
Lnet/minecraft/class_3692;field_16276:J
named endTime
Lnet/minecraft/util/profiler/ProfileResultImpl;endTime:J
-
endTick
private final int endTick- Mappings:
Namespace Name Mixin selector official j
Larw;j:I
intermediary field_16274
Lnet/minecraft/class_3692;field_16274:I
named endTick
Lnet/minecraft/util/profiler/ProfileResultImpl;endTick:I
-
tickDuration
private final int tickDuration- Mappings:
Namespace Name Mixin selector official k
Larw;k:I
intermediary field_19383
Lnet/minecraft/class_3692;field_19383:I
named tickDuration
Lnet/minecraft/util/profiler/ProfileResultImpl;tickDuration:I
-
-
Constructor Details
-
ProfileResultImpl
public ProfileResultImpl(Map<String, ? extends ProfileLocationInfo> locationInfos, long startTime, int startTick, long endTime, int endTick) - Mappings:
Namespace Name Mixin selector official <init>
Larw;<init>(Ljava/util/Map;JIJI)V
intermediary <init>
Lnet/minecraft/class_3692;<init>(Ljava/util/Map;JIJI)V
named <init>
Lnet/minecraft/util/profiler/ProfileResultImpl;<init>(Ljava/util/Map;JIJI)V
-
-
Method Details
-
getInfo
- Mappings:
Namespace Name Mixin selector official c
Larw;c(Ljava/lang/String;)Lasb;
intermediary method_24262
Lnet/minecraft/class_3692;method_24262(Ljava/lang/String;)Lnet/minecraft/class_4748;
named getInfo
Lnet/minecraft/util/profiler/ProfileResultImpl;getInfo(Ljava/lang/String;)Lnet/minecraft/util/profiler/ProfileLocationInfo;
-
getTimings
- Specified by:
getTimings
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector official a
Larz;a(Ljava/lang/String;)Ljava/util/List;
intermediary method_16067
Lnet/minecraft/class_3696;method_16067(Ljava/lang/String;)Ljava/util/List;
named getTimings
Lnet/minecraft/util/profiler/ProfileResult;getTimings(Ljava/lang/String;)Ljava/util/List;
-
isSubpath
- Mappings:
Namespace Name Mixin selector official a
Larw;a(Ljava/lang/String;Ljava/lang/String;)Z
intermediary method_24255
Lnet/minecraft/class_3692;method_24255(Ljava/lang/String;Ljava/lang/String;)Z
named isSubpath
Lnet/minecraft/util/profiler/ProfileResultImpl;isSubpath(Ljava/lang/String;Ljava/lang/String;)Z
-
setupCounters
- Mappings:
Namespace Name Mixin selector official h
Larw;h()Ljava/util/Map;
intermediary method_24264
Lnet/minecraft/class_3692;method_24264()Ljava/util/Map;
named setupCounters
Lnet/minecraft/util/profiler/ProfileResultImpl;setupCounters()Ljava/util/Map;
-
getStartTime
public long getStartTime()- Specified by:
getStartTime
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector official a
Larz;a()J
intermediary method_16068
Lnet/minecraft/class_3696;method_16068()J
named getStartTime
Lnet/minecraft/util/profiler/ProfileResult;getStartTime()J
-
getStartTick
public int getStartTick()- Specified by:
getStartTick
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector official b
Larz;b()I
intermediary method_16072
Lnet/minecraft/class_3696;method_16072()I
named getStartTick
Lnet/minecraft/util/profiler/ProfileResult;getStartTick()I
-
getEndTime
public long getEndTime()- Specified by:
getEndTime
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector official c
Larz;c()J
intermediary method_16073
Lnet/minecraft/class_3696;method_16073()J
named getEndTime
Lnet/minecraft/util/profiler/ProfileResult;getEndTime()J
-
getEndTick
public int getEndTick()- Specified by:
getEndTick
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector official d
Larz;d()I
intermediary method_16070
Lnet/minecraft/class_3696;method_16070()I
named getEndTick
Lnet/minecraft/util/profiler/ProfileResult;getEndTick()I
-
save
- Specified by:
save
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector official a
Larz;a(Ljava/nio/file/Path;)Z
intermediary method_16069
Lnet/minecraft/class_3696;method_16069(Ljava/nio/file/Path;)Z
named save
Lnet/minecraft/util/profiler/ProfileResult;save(Ljava/nio/file/Path;)Z
-
asString
- Mappings:
Namespace Name Mixin selector official a
Larw;a(JI)Ljava/lang/String;
intermediary method_16063
Lnet/minecraft/class_3692;method_16063(JI)Ljava/lang/String;
named asString
Lnet/minecraft/util/profiler/ProfileResultImpl;asString(JI)Ljava/lang/String;
-
getRootTimings
- Specified by:
getRootTimings
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector official e
Larz;e()Ljava/lang/String;
intermediary method_34970
Lnet/minecraft/class_3696;method_34970()Ljava/lang/String;
named getRootTimings
Lnet/minecraft/util/profiler/ProfileResult;getRootTimings()Ljava/lang/String;
-
indent
- Mappings:
Namespace Name Mixin selector official a
Larw;a(Ljava/lang/StringBuilder;I)Ljava/lang/StringBuilder;
intermediary method_24256
Lnet/minecraft/class_3692;method_24256(Ljava/lang/StringBuilder;I)Ljava/lang/StringBuilder;
named indent
Lnet/minecraft/util/profiler/ProfileResultImpl;indent(Ljava/lang/StringBuilder;I)Ljava/lang/StringBuilder;
-
appendTiming
- Mappings:
Namespace Name Mixin selector official a
Larw;a(ILjava/lang/String;Ljava/lang/StringBuilder;)V
intermediary method_16061
Lnet/minecraft/class_3692;method_16061(ILjava/lang/String;Ljava/lang/StringBuilder;)V
named appendTiming
Lnet/minecraft/util/profiler/ProfileResultImpl;appendTiming(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 official a
Larw;a(ILjava/lang/String;Larw$a;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
named appendCounter
Lnet/minecraft/util/profiler/ProfileResultImpl;appendCounter(ILjava/lang/String;Lnet/minecraft/util/profiler/ProfileResultImpl$CounterInfo;ILjava/lang/StringBuilder;)V
-
appendCounterDump
private void appendCounterDump(Map<String, ProfileResultImpl.CounterInfo> counters, StringBuilder sb, int tickSpan) - Mappings:
Namespace Name Mixin selector official a
Larw;a(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
named appendCounterDump
Lnet/minecraft/util/profiler/ProfileResultImpl;appendCounterDump(Ljava/util/Map;Ljava/lang/StringBuilder;I)V
-
generateWittyComment
- Mappings:
Namespace Name Mixin selector official i
Larw;i()Ljava/lang/String;
intermediary method_16062
Lnet/minecraft/class_3692;method_16062()Ljava/lang/String;
named generateWittyComment
Lnet/minecraft/util/profiler/ProfileResultImpl;generateWittyComment()Ljava/lang/String;
-
getTickSpan
public int getTickSpan()- Specified by:
getTickSpan
in interfaceProfileResult
- Mappings:
Namespace Name Mixin selector official f
Larz;f()I
intermediary method_16074
Lnet/minecraft/class_3696;method_16074()I
named getTickSpan
Lnet/minecraft/util/profiler/ProfileResult;getTickSpan()I
-