Class ServerSamplerSource.CpuUsageFetcher

java.lang.Object
net.minecraft.util.profiler.ServerSamplerSource.CpuUsageFetcher
Enclosing class:
ServerSamplerSource

static class ServerSamplerSource.CpuUsageFetcher extends Object
Mappings:
Namespace Name
named net/minecraft/util/profiler/ServerSamplerSource$CpuUsageFetcher
intermediary net/minecraft/class_6402$class_6403
official brk$a
  • Field Details

    • systemInfo

      private final SystemInfo systemInfo
      Mappings:
      Namespace Name Mixin selector
      named systemInfo Lnet/minecraft/util/profiler/ServerSamplerSource$CpuUsageFetcher;systemInfo:Loshi/SystemInfo;
      intermediary field_33898 Lnet/minecraft/class_6402$class_6403;field_33898:Loshi/SystemInfo;
      official b Lbrk$a;b:Loshi/SystemInfo;
    • processor

      private final CentralProcessor processor
      Mappings:
      Namespace Name Mixin selector
      named processor Lnet/minecraft/util/profiler/ServerSamplerSource$CpuUsageFetcher;processor:Loshi/hardware/CentralProcessor;
      intermediary field_33899 Lnet/minecraft/class_6402$class_6403;field_33899:Loshi/hardware/CentralProcessor;
      official c Lbrk$a;c:Loshi/hardware/CentralProcessor;
    • logicalProcessorCount

      public final int logicalProcessorCount
      Mappings:
      Namespace Name Mixin selector
      named logicalProcessorCount Lnet/minecraft/util/profiler/ServerSamplerSource$CpuUsageFetcher;logicalProcessorCount:I
      intermediary field_33897 Lnet/minecraft/class_6402$class_6403;field_33897:I
      official a Lbrk$a;a:I
    • loadTicks

      private long[][] loadTicks
      Mappings:
      Namespace Name Mixin selector
      named loadTicks Lnet/minecraft/util/profiler/ServerSamplerSource$CpuUsageFetcher;loadTicks:[[J
      intermediary field_33900 Lnet/minecraft/class_6402$class_6403;field_33900:[[J
      official d Lbrk$a;d:[[J
    • loadBetweenTicks

      private double[] loadBetweenTicks
      Mappings:
      Namespace Name Mixin selector
      named loadBetweenTicks Lnet/minecraft/util/profiler/ServerSamplerSource$CpuUsageFetcher;loadBetweenTicks:[D
      intermediary field_33901 Lnet/minecraft/class_6402$class_6403;field_33901:[D
      official e Lbrk$a;e:[D
    • lastCheckTime

      private long lastCheckTime
      Mappings:
      Namespace Name Mixin selector
      named lastCheckTime Lnet/minecraft/util/profiler/ServerSamplerSource$CpuUsageFetcher;lastCheckTime:J
      intermediary field_33902 Lnet/minecraft/class_6402$class_6403;field_33902:J
      official f Lbrk$a;f:J
  • Constructor Details

    • CpuUsageFetcher

      CpuUsageFetcher()
  • Method Details

    • getCpuUsage

      public double getCpuUsage(int index)
      Mappings:
      Namespace Name Mixin selector
      named getCpuUsage Lnet/minecraft/util/profiler/ServerSamplerSource$CpuUsageFetcher;getCpuUsage(I)D
      intermediary method_37205 Lnet/minecraft/class_6402$class_6403;method_37205(I)D
      official a Lbrk$a;a(I)D