diff options
author | 2018-08-03 14:30:54 -0700 | |
---|---|---|
committer | 2018-08-03 14:34:38 -0700 | |
commit | eaa3e88ec3322fd0aa4224040215c3c29a752613 (patch) | |
tree | 1ceb191ef8bea48e965a27af471238a7be9e64f2 | |
parent | b3b5e68b565e48ccd37baebbfa3459bc460156ca (diff) |
[XLA] Show metric name in categories table header.
Instead of
********** microseconds above estimated optimum report **********
[...]
********** categories table **********
The left hand side numbers are microseconds above estimated optimum.
[...]
we now print
********** microseconds above estimated optimum report **********
[...]
********** categories table for microseconds above estimated optimum **********
[...]
which I think is more explicit and harder to misread.
PiperOrigin-RevId: 207325046
-rw-r--r-- | tensorflow/compiler/xla/metric_table_report.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tensorflow/compiler/xla/metric_table_report.cc b/tensorflow/compiler/xla/metric_table_report.cc index fed0e58e66..69ef4f7a2f 100644 --- a/tensorflow/compiler/xla/metric_table_report.cc +++ b/tensorflow/compiler/xla/metric_table_report.cc @@ -134,8 +134,7 @@ void MetricTableReport::AppendHeader() { void MetricTableReport::AppendCategoryTable() { const std::vector<Category> categories = MakeCategories(&entries_); - AppendLine("********** categories table **********"); - AppendLine("The left hand side numbers are ", metric_name_, "."); + AppendLine("********** categories table for ", metric_name_, " **********"); AppendLine(); double metric_sum = UnaccountedMetric(); @@ -185,8 +184,8 @@ void MetricTableReport::AppendCategoryTable() { } void MetricTableReport::AppendEntryTable() { - AppendLine("********** ", entry_name_, " table **********"); - AppendLine("The left hand side numbers are ", metric_name_, "."); + AppendLine("********** ", entry_name_, " table for ", metric_name_, + " **********"); AppendLine(); double metric_sum = UnaccountedMetric(); |