CPUInfoOrBuilder

public interface CPUInfoOrBuilder
Known Indirect Subclasses

Public Methods

abstract boolean
containsCacheSize(String key)
 Cache sizes (in bytes), e.g.
abstract Map<String, Long>
abstract int
getCacheSizeCount()
 Cache sizes (in bytes), e.g.
abstract Map<String, Long>
getCacheSizeMap()
 Cache sizes (in bytes), e.g.
abstract long
getCacheSizeOrDefault(String key, long defaultValue)
 Cache sizes (in bytes), e.g.
abstract long
getCacheSizeOrThrow(String key)
 Cache sizes (in bytes), e.g.
abstract String
getCpuGovernor()
 What kind of cpu scaling is enabled on the host.
abstract com.google.protobuf.ByteString
getCpuGovernorBytes()
 What kind of cpu scaling is enabled on the host.
abstract String
getCpuInfo()
 Additional cpu information.
abstract com.google.protobuf.ByteString
getCpuInfoBytes()
 Additional cpu information.
abstract double
getMhzPerCpu()
 How fast are these cpus?
 
double mhz_per_cpu = 3;
abstract long
getNumCores()
int64 num_cores = 1;
abstract long
getNumCoresAllowed()
int64 num_cores_allowed = 2;

Public Methods

public abstract boolean containsCacheSize (String key)

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

public abstract Map<String, Long> getCacheSize ()

Use getCacheSizeMap() instead.

public abstract int getCacheSizeCount ()

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

public abstract Map<String, Long> getCacheSizeMap ()

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

public abstract long getCacheSizeOrDefault (String key, long defaultValue)

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

public abstract long getCacheSizeOrThrow (String key)

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

public abstract String getCpuGovernor ()

 What kind of cpu scaling is enabled on the host.
 Examples include "performance", "ondemand", "conservative", "mixed".
 
string cpu_governor = 5;

public abstract com.google.protobuf.ByteString getCpuGovernorBytes ()

 What kind of cpu scaling is enabled on the host.
 Examples include "performance", "ondemand", "conservative", "mixed".
 
string cpu_governor = 5;

public abstract String getCpuInfo ()

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

public abstract com.google.protobuf.ByteString getCpuInfoBytes ()

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

public abstract double getMhzPerCpu ()

 How fast are these cpus?
 
double mhz_per_cpu = 3;

public abstract long getNumCores ()

int64 num_cores = 1;

public abstract long getNumCoresAllowed ()

int64 num_cores_allowed = 2;