public final class
CPUInfo
Protobuf type tensorflow.CPUInfo
Nested Classes
| class | CPUInfo.Builder | Protobuf type tensorflow.CPUInfo
|
|
Constants
| int | CACHE_SIZE_FIELD_NUMBER | |
| int | CPU_GOVERNOR_FIELD_NUMBER | |
| int | CPU_INFO_FIELD_NUMBER | |
| int | MHZ_PER_CPU_FIELD_NUMBER | |
| int | NUM_CORES_ALLOWED_FIELD_NUMBER | |
| int | NUM_CORES_FIELD_NUMBER |
Public Methods
| boolean |
containsCacheSize(String key)
Cache sizes (in bytes), e.g. |
| boolean |
equals(Object obj)
|
| 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. |
| static CPUInfo | |
| CPUInfo | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| double |
getMhzPerCpu()
How fast are these cpus? double mhz_per_cpu = 3;
|
| long |
getNumCores()
int64 num_cores = 1;
|
| long |
getNumCoresAllowed()
int64 num_cores_allowed = 2;
|
|
|
|
| int | |
| final com.google.protobuf.UnknownFieldSet | |
| int |
hashCode()
|
| final boolean | |
| static CPUInfo.Builder |
newBuilder(CPUInfo prototype)
|
| static CPUInfo.Builder | |
| CPUInfo.Builder | |
| static CPUInfo |
parseDelimitedFrom(InputStream input)
|
| static CPUInfo |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static CPUInfo |
parseFrom(ByteBuffer data)
|
| static CPUInfo |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static CPUInfo |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static CPUInfo |
parseFrom(com.google.protobuf.CodedInputStream input)
|
| static CPUInfo |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static CPUInfo |
parseFrom(com.google.protobuf.ByteString data)
|
| static CPUInfo |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static CPUInfo |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
static
|
parser()
|
| CPUInfo.Builder | |
| void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int CACHE_SIZE_FIELD_NUMBER
Constant Value:
6
public static final int CPU_GOVERNOR_FIELD_NUMBER
Constant Value:
5
public static final int CPU_INFO_FIELD_NUMBER
Constant Value:
4
public static final int MHZ_PER_CPU_FIELD_NUMBER
Constant Value:
3
public static final int NUM_CORES_ALLOWED_FIELD_NUMBER
Constant Value:
2
public static final int NUM_CORES_FIELD_NUMBER
Constant Value:
1
Public Methods
public boolean containsCacheSize (String key)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public boolean equals (Object obj)
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 double getMhzPerCpu ()
How fast are these cpus?
double mhz_per_cpu = 3;
public long getNumCores ()
int64 num_cores = 1;
public long getNumCoresAllowed ()
int64 num_cores_allowed = 2;
public
getParserForType
()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static CPUInfo parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static CPUInfo parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static CPUInfo parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| InvalidProtocolBufferException |
|---|
public static CPUInfo parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| InvalidProtocolBufferException |
|---|
public static CPUInfo parseFrom (com.google.protobuf.ByteString data)
Throws
| InvalidProtocolBufferException |
|---|
public static CPUInfo parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static CPUInfo parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| InvalidProtocolBufferException |
|---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
| IOException |
|---|