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
-
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 -
visits
private long visits -
counts
-
-
Constructor Details
-
LocatedInfo
private LocatedInfo()
-
-
Method Details
-
getTotalTime
public long getTotalTime()Returns the total time spent visiting the profiler location.- Specified by:
getTotalTimein interfaceProfileLocationInfo
-
getVisitCount
public long getVisitCount()Returns the number of times the profiler location has been visited.- Specified by:
getVisitCountin interfaceProfileLocationInfo
-
getCounts
Returns a marker to count map indicating the times each marker has been visited in the profiler location.- Specified by:
getCountsin interfaceProfileLocationInfo
-