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