aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util/stat_summarizer.cc
diff options
context:
space:
mode:
authorGravatar Andrew Harp <andrewharp@google.com>2016-12-08 20:05:49 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-12-08 20:21:45 -0800
commit1cb96893a64f59b7265f9def9968f7bed1e57662 (patch)
tree0e6d595a0806028f5f92e64c84342ae9659ca108 /tensorflow/core/util/stat_summarizer.cc
parent90b72f4b2f07a0126efb110d8d4cc96386fcc968 (diff)
Merge changes from github.
Additionally: - change single quotes to double quotes to make path rewriting easier - guard windows lib reference with PLATFORM_WINDOWS - fixed failing kmeans test Change: 141515942
Diffstat (limited to 'tensorflow/core/util/stat_summarizer.cc')
-rw-r--r--tensorflow/core/util/stat_summarizer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/core/util/stat_summarizer.cc b/tensorflow/core/util/stat_summarizer.cc
index 0b675eaac9..6bd3d9c780 100644
--- a/tensorflow/core/util/stat_summarizer.cc
+++ b/tensorflow/core/util/stat_summarizer.cc
@@ -340,10 +340,10 @@ std::string StatSummarizer::GetStatsByOrderOfNodeDefinitions(
std::string StatSummarizer::GetOutputString() const {
std::stringstream stream;
- stream << "Total time (us): " << run_total_micros_;
+ stream << "Total time (us): " << run_total_micros_ << std::endl;
stream << GetTimingStatsByRunOrder();
stream << GetTimingStatsByTopDurations();
- stream << "Total Memory (bytes): " << memory_;
+ stream << "Total Memory (bytes): " << memory_ << std::endl;
stream << GetMemoryStatsByRunOrder();
stream << GetMemoryStatsByUsage();
return stream.str();