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
Mappings:
Namespace Name
official aol$a
intermediary net/minecraft/class_3533$class_4746
named net/minecraft/util/profiler/ProfilerSystem$LocatedInfo
  • Field Details

    • time

      private long time
      Mappings:
      Namespace Name Mixin selector
      official a Laol$a;a:J
      intermediary field_21820 Lnet/minecraft/class_3533$class_4746;field_21820:J
      named time Lnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;time:J
    • visits

      private long visits
      Mappings:
      Namespace Name Mixin selector
      official b Laol$a;b:J
      intermediary field_21821 Lnet/minecraft/class_3533$class_4746;field_21821:J
      named visits Lnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;visits:J
    • counts

      private final Object2LongOpenHashMap<String> counts
      Mappings:
      Namespace Name Mixin selector
      official c Laol$a;c:Lit/unimi/dsi/fastutil/objects/Object2LongOpenHashMap;
      intermediary field_21822 Lnet/minecraft/class_3533$class_4746;field_21822:Lit/unimi/dsi/fastutil/objects/Object2LongOpenHashMap;
      named counts Lnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;counts:Lit/unimi/dsi/fastutil/objects/Object2LongOpenHashMap;
  • 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
      Mappings:
      Namespace Name Mixin selector
      official a Laot;a()J
      intermediary method_24272 Lnet/minecraft/class_4748;method_24272()J
      named getTotalTime Lnet/minecraft/util/profiler/ProfileLocationInfo;getTotalTime()J
    • getVisitCount

      public long getVisitCount()
      Returns the number of times the profiler location has been visited.
      Specified by:
      getVisitCount in interface ProfileLocationInfo
      Mappings:
      Namespace Name Mixin selector
      official b Laot;b()J
      intermediary method_24273 Lnet/minecraft/class_4748;method_24273()J
      named getVisitCount Lnet/minecraft/util/profiler/ProfileLocationInfo;getVisitCount()J
    • 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
      Mappings:
      Namespace Name Mixin selector
      official c Laot;c()Lit/unimi/dsi/fastutil/objects/Object2LongMap;
      intermediary method_24274 Lnet/minecraft/class_4748;method_24274()Lit/unimi/dsi/fastutil/objects/Object2LongMap;
      named getCounts Lnet/minecraft/util/profiler/ProfileLocationInfo;getCounts()Lit/unimi/dsi/fastutil/objects/Object2LongMap;