Package net.minecraft.util.profiler
Class ProfilerSystem.LocatedInfo
java.lang.Object
net.minecraft.util.profiler.ProfilerSystem.LocatedInfo
- All Implemented Interfaces:
ProfileLocationInfo
- Enclosing class:
- ProfilerSystem
static class ProfilerSystem.LocatedInfo extends Object implements ProfileLocationInfo
- Mappings:
Namespace Name official aol$aintermediary net/minecraft/class_3533$class_4746named net/minecraft/util/profiler/ProfilerSystem$LocatedInfo
-
Field Summary
Fields Modifier and Type Field Description private Object2LongOpenHashMap<String>countsprivate longtimeprivate longvisits -
Constructor Summary
Constructors Modifier Constructor Description privateLocatedInfo() -
Method Summary
Modifier and Type Method Description 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.
-
Field Details
-
time
private long time- Mappings:
Namespace Name Mixin selector official aLaol$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 bLaol$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 cLaol$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
private 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 aLaot;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 bLaot;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 cLaot;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;
-