Interface CPUInfoOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
CPUInfo, CPUInfo.Builder

public interface CPUInfoOrBuilder extends MessageOrBuilder
  • Method Details

    • getNumCores

      long getNumCores()
      int64 num_cores = 1;
      Returns:
      The numCores.
    • getNumCoresAllowed

      long getNumCoresAllowed()
      int64 num_cores_allowed = 2;
      Returns:
      The numCoresAllowed.
    • getMhzPerCpu

      double getMhzPerCpu()
      How fast are these cpus?
      
      double mhz_per_cpu = 3;
      Returns:
      The mhzPerCpu.
    • getCpuInfo

      String getCpuInfo()
      Additional cpu information. For example,
      Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
      
      string cpu_info = 4;
      Returns:
      The cpuInfo.
    • getCpuInfoBytes

      ByteString getCpuInfoBytes()
      Additional cpu information. For example,
      Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
      
      string cpu_info = 4;
      Returns:
      The bytes for cpuInfo.
    • getCpuGovernor

      String getCpuGovernor()
      What kind of cpu scaling is enabled on the host.
      Examples include "performance", "ondemand", "conservative", "mixed".
      
      string cpu_governor = 5;
      Returns:
      The cpuGovernor.
    • getCpuGovernorBytes

      ByteString getCpuGovernorBytes()
      What kind of cpu scaling is enabled on the host.
      Examples include "performance", "ondemand", "conservative", "mixed".
      
      string cpu_governor = 5;
      Returns:
      The bytes for cpuGovernor.
    • getCacheSizeCount

      int getCacheSizeCount()
      Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
      
      map<string, int64> cache_size = 6;
    • containsCacheSize

      boolean containsCacheSize(String key)
      Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
      
      map<string, int64> cache_size = 6;
    • getCacheSize

      @Deprecated Map<String,Long> getCacheSize()
      Deprecated.
      Use getCacheSizeMap() instead.
    • getCacheSizeMap

      Map<String,Long> getCacheSizeMap()
      Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
      
      map<string, int64> cache_size = 6;
    • getCacheSizeOrDefault

      long getCacheSizeOrDefault(String key, long defaultValue)
      Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
      
      map<string, int64> cache_size = 6;
    • getCacheSizeOrThrow

      long getCacheSizeOrThrow(String key)
      Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
      
      map<string, int64> cache_size = 6;