aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util/test_log.proto
diff options
context:
space:
mode:
authorGravatar Eugene Brevdo <ebrevdo@google.com>2017-03-02 14:08:44 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-03-02 14:28:55 -0800
commit54c0ff4a73789ce42d71433b79e5db21b5d6c7a2 (patch)
tree2b3b01770852b6457d8501c01b8b7f09c45eed19 /tensorflow/core/util/test_log.proto
parent356e599ce55c4d6b68583cc7bcc716791f8271ef (diff)
Add BenchmarkType to TestResults proto and fix logging of C++ microbenchmarks.
C++ microbenchmarks results are now normalized by iters (like python benchmarks). Change: 149045367
Diffstat (limited to 'tensorflow/core/util/test_log.proto')
-rw-r--r--tensorflow/core/util/test_log.proto9
1 files changed, 9 insertions, 0 deletions
diff --git a/tensorflow/core/util/test_log.proto b/tensorflow/core/util/test_log.proto
index 4eb397670d..8c73ba54ff 100644
--- a/tensorflow/core/util/test_log.proto
+++ b/tensorflow/core/util/test_log.proto
@@ -174,4 +174,13 @@ message TestResults {
// Benchmark target identifier.
string name = 9;
+
+ // The type of benchmark.
+ enum BenchmarkType {
+ UNKNOWN = 0; // Fallback for protos written before Type was introduced.
+ CPP_MICROBENCHMARK = 1;
+ PYTHON_BENCHMARK = 2;
+ ANDROID_BENCHMARK = 3;
+ }
+ BenchmarkType benchmark_type = 10;
};