From 8f498f0ad31f893978f360fb89aa3cedef7dc14f Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Mon, 29 Jul 2019 18:23:22 -0700 Subject: [PATCH] Added a flag to ExecutionProfile messages to indicate whether the profile was drawn from a cache. PiperOrigin-RevId: 260623284 --- tensorflow/compiler/xla/xla_data.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tensorflow/compiler/xla/xla_data.proto b/tensorflow/compiler/xla/xla_data.proto index 1bd6db2662e..120be3d86c3 100644 --- a/tensorflow/compiler/xla/xla_data.proto +++ b/tensorflow/compiler/xla/xla_data.proto @@ -294,6 +294,10 @@ message ExecutionProfile { // The size of the binary code in the executable. int64 executable_size_in_bytes = 6; + + // Whether this profile was drawn from a cache of profiles instead of from + // execution on the hardware. + bool profile_cache_hit = 7; } // Handle given to a user that represents an execution that the user launched