aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/framework/allocation_description.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/framework/allocation_description.proto')
-rw-r--r--tensorflow/core/framework/allocation_description.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/tensorflow/core/framework/allocation_description.proto b/tensorflow/core/framework/allocation_description.proto
new file mode 100644
index 0000000000..f6f4bc0126
--- /dev/null
+++ b/tensorflow/core/framework/allocation_description.proto
@@ -0,0 +1,15 @@
+syntax = "proto3";
+
+package tensorflow;
+// option cc_enable_arenas = true;
+
+message AllocationDescription {
+ // Total number of bytes requested
+ int64 requested_bytes = 1;
+
+ // Total number of bytes allocated if known
+ int64 allocated_bytes = 2;
+
+ // Name of the allocator used
+ string allocator_name = 3;
+};