Class ProfilerSystem.LocatedInfo

java.lang.Object
net.minecraft.util.profiler.ProfilerSystem.LocatedInfo
All Implemented Interfaces:
ProfileLocationInfo
Enclosing class:
ProfilerSystem

public static class ProfilerSystem.LocatedInfo
extends Object
implements ProfileLocationInfo
Mappings:
Namespace Name
official aph$a
intermediary net/minecraft/class_3533$class_4746
named net/minecraft/util/profiler/ProfilerSystem$LocatedInfo
  • Field Summary

    Fields
    Modifier and Type Field Description
    private it.unimi.dsi.fastutil.objects.Object2LongOpenHashMap<String> counts  
    private long time  
    private long visits  
  • Constructor Summary

    Constructors
    Constructor Description
    LocatedInfo()  
  • Method Summary

    Modifier and Type Method Description
    it.unimi.dsi.fastutil.objects.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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • time

      private long time
      Mappings:
      Namespace Name Mixin selector
      official a Laph$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 Laph$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 it.unimi.dsi.fastutil.objects.Object2LongOpenHashMap<String> counts
      Mappings:
      Namespace Name Mixin selector
      official c Laph$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

      public 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 Lapp;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 Lapp;b()J
      intermediary method_24273 Lnet/minecraft/class_4748;method_24273()J
      named getVisitCount Lnet/minecraft/util/profiler/ProfileLocationInfo;getVisitCount()J
    • getCounts

      public it.unimi.dsi.fastutil.objects.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 Lapp;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;