Package net.minecraft.util.profiler
Class ProfilerSystem.LocatedInfo
java.lang.Object
net.minecraft.util.profiler.ProfilerSystem.LocatedInfo
- All Implemented Interfaces:
ProfileLocationInfo
- Enclosing class:
- ProfilerSystem
- Mappings:
Namespace Name official apf$aintermediary net/minecraft/class_3533$class_4746named net/minecraft/util/profiler/ProfilerSystem$LocatedInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Object2LongOpenHashMap<String>private longprivate long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a marker to count map indicating the times each marker has been visited in the profiler location.longReturns the total time spent visiting the profiler location.longReturns the number of times the profiler location has been visited.
-
Field Details
-
time
private long time- Mappings:
Namespace Name Mixin selector official aLapf$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 bLapf$a;b:Jintermediary field_21821Lnet/minecraft/class_3533$class_4746;field_21821:Jnamed visitsLnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;visits:J
-
counts
- Mappings:
Namespace Name Mixin selector official cLapf$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;
-
-
Constructor Details
-
LocatedInfo
public LocatedInfo()
-
-
Method Details
-
getTotalTime
public long getTotalTime()Returns the total time spent visiting the profiler location.- Specified by:
getTotalTimein interfaceProfileLocationInfo- Mappings:
Namespace Name Mixin selector official aLapn;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.- Specified by:
getVisitCountin interfaceProfileLocationInfo- Mappings:
Namespace Name Mixin selector official bLapn;b()Jintermediary method_24273Lnet/minecraft/class_4748;method_24273()Jnamed getVisitCountLnet/minecraft/util/profiler/ProfileLocationInfo;getVisitCount()J
-
getCounts
Returns a marker to count map indicating the times each marker has been visited in the profiler location.- Specified by:
getCountsin interfaceProfileLocationInfo- Mappings:
Namespace Name Mixin selector official cLapn;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;
-