org.tensorflow.util.testlog.CPUInfoOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto Show documentation
Show all versions of proto Show documentation
Java API for TensorFlow protocol buffers.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/util/test_log.proto
package org.tensorflow.util.testlog;
public interface CPUInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.CPUInfo)
com.google.protobuf.MessageOrBuilder {
/**
* int64 num_cores = 1;
*/
long getNumCores();
/**
* int64 num_cores_allowed = 2;
*/
long getNumCoresAllowed();
/**
*
* How fast are these cpus?
*
*
* double mhz_per_cpu = 3;
*/
double getMhzPerCpu();
/**
*
* Additional cpu information. For example,
* Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
*
*
* string cpu_info = 4;
*/
java.lang.String getCpuInfo();
/**
*
* Additional cpu information. For example,
* Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
*
*
* string cpu_info = 4;
*/
com.google.protobuf.ByteString
getCpuInfoBytes();
/**
*
* What kind of cpu scaling is enabled on the host.
* Examples include "performance", "ondemand", "conservative", "mixed".
*
*
* string cpu_governor = 5;
*/
java.lang.String getCpuGovernor();
/**
*
* What kind of cpu scaling is enabled on the host.
* Examples include "performance", "ondemand", "conservative", "mixed".
*
*
* string cpu_governor = 5;
*/
com.google.protobuf.ByteString
getCpuGovernorBytes();
/**
*
* Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
*
*
* map<string, int64> cache_size = 6;
*/
int getCacheSizeCount();
/**
*
* Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
*
*
* map<string, int64> cache_size = 6;
*/
boolean containsCacheSize(
java.lang.String key);
/**
* Use {@link #getCacheSizeMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getCacheSize();
/**
*
* Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
*
*
* map<string, int64> cache_size = 6;
*/
java.util.Map
getCacheSizeMap();
/**
*
* Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
*
*
* map<string, int64> cache_size = 6;
*/
long getCacheSizeOrDefault(
java.lang.String key,
long defaultValue);
/**
*
* Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
*
*
* map<string, int64> cache_size = 6;
*/
long getCacheSizeOrThrow(
java.lang.String key);
}