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 Details

  • Constructor Details

    • LocatedInfo

      private LocatedInfo()
  • Method Details

    • getTotalTime

      public long getTotalTime()
      Returns the total time spent visiting the profiler location.
      Specified by:
      getTotalTime in interface ProfileLocationInfo
    • getVisitCount

      public long getVisitCount()
      Returns the number of times the profiler location has been visited.
      Specified by:
      getVisitCount in interface ProfileLocationInfo
    • getCounts

      public Object2LongMap<String> getCounts()
      Returns a marker to count map indicating the times each marker has been visited in the profiler location.
      Specified by:
      getCounts in interface ProfileLocationInfo