aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util/test_log.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/util/test_log.proto')
-rw-r--r--tensorflow/core/util/test_log.proto37
1 files changed, 29 insertions, 8 deletions
diff --git a/tensorflow/core/util/test_log.proto b/tensorflow/core/util/test_log.proto
index 771a1087c1..82cf0433e6 100644
--- a/tensorflow/core/util/test_log.proto
+++ b/tensorflow/core/util/test_log.proto
@@ -63,34 +63,50 @@ message CommitId {
};
message CPUInfo {
+ int64 num_cores = 1;
+
+ int64 num_cores_allowed = 2;
+
// How fast are these cpus?
- double mhz_per_cpu = 1;
+ double mhz_per_cpu = 3;
// Additional cpu information. For example,
// Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
- string cpu_info = 2;
+ string cpu_info = 4;
// What kind of cpu scaling is enabled on the host.
// Examples include "performance", "ondemand", "conservative", "mixed".
- string cpu_governor = 3;
+ string cpu_governor = 5;
// Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
- map<string, int64> cache_size = 4;
+ map<string, int64> cache_size = 6;
};
+message MemoryInfo {
+ int64 total = 1; // Total virtual memory in bytes
+ int64 available = 2; // Immediately available memory in bytes
+}
+
message GPUInfo {
string model = 1; // e.g. "Tesla K40c"
string uuid = 2; // Final entry in output of "nvidia-smi -L"
+ string bus_id = 3; // e.g. "0000:04:00.0"
};
message PlatformInfo {
string bits = 1; // e.g. '64bit'
string linkage = 2; // e.g. 'ELF'
string machine = 3; // e.g. 'i386'
- string processor = 4; // e.g. 'amdk6' (the real processor name)
- string release = 5; // e.g. '3.13.0-76-generic'
- string system = 6; // e.g. 'Linux'
- string version = 7; // e.g. '#120-Ubuntu SMP Mon Jan 18 15:59:10 UTC 2016'
+ string release = 4; // e.g. '3.13.0-76-generic'
+ string system = 5; // e.g. 'Linux'
+ string version = 6; // e.g. '#120-Ubuntu SMP Mon Jan 18 15:59:10 UTC 2016'
+};
+
+message AvailableDeviceInfo { // Matches DeviceAttributes
+ string name = 1; // Device name.
+ string type = 2; // Device type, e.g. 'CPU' or 'GPU'.
+ int64 memory_limit = 3; // Memory capacity in bytes.
+ string physical_description = 4; // The physical description of this device.
};
message MachineConfiguration {
@@ -105,6 +121,11 @@ message MachineConfiguration {
// Other devices that are attached and relevant (e.g. GPUInfo).
repeated google.protobuf.Any device_info = 4;
+
+ // Devices accessible to the test (e.g. as given by list_local_devices).
+ repeated AvailableDeviceInfo available_device_info = 5;
+
+ MemoryInfo memory_info = 6;
};
// Run-specific items such as arguments to the test / benchmark.