Have a question? Connect with the community at the TensorFlow Forum Visit Forum

CPUInfo.Builder

public static final class CPUInfo.Builder

Protobuf type tensorflow.CPUInfo

Public Methods

CPUInfo.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CPUInfo
CPUInfo
CPUInfo.Builder
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
boolean
containsCacheSize (String key)
 Cache sizes (in bytes), e.g.
Map<String, Long>
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 build ()

public CPUInfo buildPartial ()

public CPUInfo.Builder clear ()

public CPUInfo.Builder clearCacheSize ()

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 CPUInfo.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public CPUInfo.Builder clearMhzPerCpu ()

 How fast are these cpus?
 
double mhz_per_cpu = 3;

public CPUInfo.Builder clearNumCores ()

int64 num_cores = 1;

public CPUInfo.Builder clearNumCoresAllowed ()

int64 num_cores_allowed = 2;

public CPUInfo.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public CPUInfo.Builder clone ()

public boolean containsCacheSize (String key)

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

public Map<String, Long> getCacheSize ()

Use getCacheSizeMap() instead.

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