public static final class
CPUInfo.Builder
Protobuf type tensorflow.CPUInfo
Public Methods
CPUInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
CPUInfo |
build()
|
CPUInfo | |
CPUInfo.Builder |
clear()
|
CPUInfo.Builder | |
CPUInfo.Builder |
clearCpuGovernor()
What kind of cpu scaling is enabled on the host. |
CPUInfo.Builder |
clearCpuInfo()
Additional cpu information. |
CPUInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
CPUInfo.Builder |
clearMhzPerCpu()
How fast are these cpus? double mhz_per_cpu = 3;
|
CPUInfo.Builder |
clearNumCores()
int64 num_cores = 1;
|
CPUInfo.Builder |
clearNumCoresAllowed()
int64 num_cores_allowed = 2;
|
CPUInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
CPUInfo.Builder |
clone()
|
boolean |
containsCacheSize(String key)
Cache sizes (in bytes), e.g. |
Map<String, Long> |
getCacheSize()
Use
getCacheSizeMap() instead. |
int |
getCacheSizeCount()
Cache sizes (in bytes), e.g. |
Map<String, Long> |
getCacheSizeMap()
Cache sizes (in bytes), e.g. |
long |
getCacheSizeOrDefault(String key, long defaultValue)
Cache sizes (in bytes), e.g. |
long |
getCacheSizeOrThrow(String key)
Cache sizes (in bytes), e.g. |
String |
getCpuGovernor()
What kind of cpu scaling is enabled on the host. |
com.google.protobuf.ByteString |
getCpuGovernorBytes()
What kind of cpu scaling is enabled on the host. |
String |
getCpuInfo()
Additional cpu information. |
com.google.protobuf.ByteString |
getCpuInfoBytes()
Additional cpu information. |
CPUInfo | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
double |
getMhzPerCpu()
How fast are these cpus? double mhz_per_cpu = 3;
|
Map<String, Long> |
getMutableCacheSize()
Use alternate mutation accessors instead.
|
long |
getNumCores()
int64 num_cores = 1;
|
long |
getNumCoresAllowed()
int64 num_cores_allowed = 2;
|
final boolean | |
CPUInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
CPUInfo.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final CPUInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
CPUInfo.Builder |
putAllCacheSize(Map<String, Long> values)
Cache sizes (in bytes), e.g. |
CPUInfo.Builder |
putCacheSize(String key, long value)
Cache sizes (in bytes), e.g. |
CPUInfo.Builder |
removeCacheSize(String key)
Cache sizes (in bytes), e.g. |
CPUInfo.Builder |
setCpuGovernor(String value)
What kind of cpu scaling is enabled on the host. |
CPUInfo.Builder |
setCpuGovernorBytes(com.google.protobuf.ByteString value)
What kind of cpu scaling is enabled on the host. |
CPUInfo.Builder |
setCpuInfo(String value)
Additional cpu information. |
CPUInfo.Builder |
setCpuInfoBytes(com.google.protobuf.ByteString value)
Additional cpu information. |
CPUInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
CPUInfo.Builder |
setMhzPerCpu(double value)
How fast are these cpus? double mhz_per_cpu = 3;
|
CPUInfo.Builder |
setNumCores(long value)
int64 num_cores = 1;
|
CPUInfo.Builder |
setNumCoresAllowed(long value)
int64 num_cores_allowed = 2;
|
CPUInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final CPUInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public CPUInfo.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public CPUInfo.Builder clearCpuGovernor ()
What kind of cpu scaling is enabled on the host. Examples include "performance", "ondemand", "conservative", "mixed".
string cpu_governor = 5;
public CPUInfo.Builder clearCpuInfo ()
Additional cpu information. For example, Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
string cpu_info = 4;
public boolean containsCacheSize (String key)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public int getCacheSizeCount ()
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public Map<String, Long> getCacheSizeMap ()
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public long getCacheSizeOrDefault (String key, long defaultValue)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public long getCacheSizeOrThrow (String key)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public String getCpuGovernor ()
What kind of cpu scaling is enabled on the host. Examples include "performance", "ondemand", "conservative", "mixed".
string cpu_governor = 5;
public 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 String getCpuInfo ()
Additional cpu information. For example, Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
string cpu_info = 4;
public 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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public double getMhzPerCpu ()
How fast are these cpus?
double mhz_per_cpu = 3;
public Map<String, Long> getMutableCacheSize ()
Use alternate mutation accessors instead.
public long getNumCores ()
int64 num_cores = 1;
public long getNumCoresAllowed ()
int64 num_cores_allowed = 2;
public final boolean isInitialized ()
public CPUInfo.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public CPUInfo.Builder putAllCacheSize (Map<String, Long> values)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public CPUInfo.Builder putCacheSize (String key, long value)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public CPUInfo.Builder removeCacheSize (String key)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public CPUInfo.Builder setCpuGovernor (String value)
What kind of cpu scaling is enabled on the host. Examples include "performance", "ondemand", "conservative", "mixed".
string cpu_governor = 5;
public CPUInfo.Builder setCpuGovernorBytes (com.google.protobuf.ByteString value)
What kind of cpu scaling is enabled on the host. Examples include "performance", "ondemand", "conservative", "mixed".
string cpu_governor = 5;
public CPUInfo.Builder setCpuInfo (String value)
Additional cpu information. For example, Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
string cpu_info = 4;
public CPUInfo.Builder setCpuInfoBytes (com.google.protobuf.ByteString value)
Additional cpu information. For example, Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
string cpu_info = 4;