Package net.minecraft.util.profiler
Interface ProfileLocationInfo
- All Known Implementing Classes:
ProfilerSystem.LocatedInfo
public interface ProfileLocationInfo
Profiling information on a specific profiler location.
- Mappings:
Namespace Name official aotintermediary net/minecraft/class_4748named net/minecraft/util/profiler/ProfileLocationInfo
-
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.
-
Method Details
-
getTotalTime
long getTotalTime()Returns the total time spent visiting the profiler location.- 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
long getVisitCount()Returns the number of times the profiler location has been visited.- 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
Object2LongMap<String> getCounts()Returns a marker to count map indicating the times each marker has been visited in the profiler location.- 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;
-