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 apnintermediary net/minecraft/class_4748named net/minecraft/util/profiler/ProfileLocationInfo
-
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.
-
Method Details
-
getTotalTime
long getTotalTime()Returns the total time spent visiting the profiler location.- 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
long getVisitCount()Returns the number of times the profiler location has been visited.- 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
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 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;
-