Class ServerSamplerSource.CpuUsageFetcher

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

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

    • systemInfo

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

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

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

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

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

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

    • CpuUsageFetcher

      CpuUsageFetcher()
  • Method Details

    • getCpuUsage

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