类 ProfilerSystem.LocatedInfo
- java.lang.Object
-
- net.minecraft.util.profiler.ProfilerSystem.LocatedInfo
-
- 所有已实现的接口:
ProfileLocationInfo
- 封闭类:
- ProfilerSystem
public static class ProfilerSystem.LocatedInfo extends Object implements ProfileLocationInfo
- Mappings:
Namespace Name official ape$aintermediary net/minecraft/class_3533$class_4746named net/minecraft/util/profiler/ProfilerSystem$LocatedInfo
-
-
字段概要
字段 修饰符和类型 字段 说明 private Object2LongOpenHashMap<String>countsprivate longtimeprivate longvisits
-
构造器概要
构造器 构造器 说明 LocatedInfo()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Object2LongMap<String>getCounts()Returns a marker to count map indicating the times each marker has been visited in the profiler location.longgetTotalTime()Returns the total time spent visiting the profiler location.longgetVisitCount()Returns the number of times the profiler location has been visited.
-
-
-
字段详细资料
-
time
private long time
- Mappings:
Namespace Name Mixin selector official aLape$a;a:Jintermediary field_21820Lnet/minecraft/class_3533$class_4746;field_21820:Jnamed timeLnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;time:J
-
visits
private long visits
- Mappings:
Namespace Name Mixin selector official bLape$a;b:Jintermediary field_21821Lnet/minecraft/class_3533$class_4746;field_21821:Jnamed visitsLnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;visits:J
-
counts
private final Object2LongOpenHashMap<String> counts
- Mappings:
Namespace Name Mixin selector official cLape$a;c:Lit/unimi/dsi/fastutil/objects/Object2LongOpenHashMap;intermediary field_21822Lnet/minecraft/class_3533$class_4746;field_21822:Lit/unimi/dsi/fastutil/objects/Object2LongOpenHashMap;named countsLnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;counts:Lit/unimi/dsi/fastutil/objects/Object2LongOpenHashMap;
-
-
方法详细资料
-
getTotalTime
public long getTotalTime()
Returns the total time spent visiting the profiler location.- 指定者:
getTotalTime在接口中ProfileLocationInfo- Mappings:
Namespace Name Mixin selector official aLapm;a()Jintermediary method_24272Lnet/minecraft/class_4748;method_24272()Jnamed getTotalTimeLnet/minecraft/util/profiler/ProfileLocationInfo;getTotalTime()J
-
getVisitCount
public long getVisitCount()
Returns the number of times the profiler location has been visited.- 指定者:
getVisitCount在接口中ProfileLocationInfo- Mappings:
Namespace Name Mixin selector official bLapm;b()Jintermediary method_24273Lnet/minecraft/class_4748;method_24273()Jnamed getVisitCountLnet/minecraft/util/profiler/ProfileLocationInfo;getVisitCount()J
-
getCounts
public Object2LongMap<String> getCounts()
Returns a marker to count map indicating the times each marker has been visited in the profiler location.- 指定者:
getCounts在接口中ProfileLocationInfo- Mappings:
Namespace Name Mixin selector official cLapm;c()Lit/unimi/dsi/fastutil/objects/Object2LongMap;intermediary method_24274Lnet/minecraft/class_4748;method_24274()Lit/unimi/dsi/fastutil/objects/Object2LongMap;named getCountsLnet/minecraft/util/profiler/ProfileLocationInfo;getCounts()Lit/unimi/dsi/fastutil/objects/Object2LongMap;
-
-