diff options
author | cmtice <cmtice@google.com> | 2014-04-24 09:08:22 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-04-24 21:53:04 +0000 |
commit | 666d175610adbd9e69bb19be92522e7bc3ffcc63 (patch) | |
tree | 92d8aaee69a08d9569f37ff1bc2a641786c78ba6 /crosperf/results_cache.py | |
parent | a58a824b41a0121439794cd8a2392364e4d6975c (diff) | |
download | toolchain-utils-666d175610adbd9e69bb19be92522e7bc3ffcc63.tar.gz |
Tell users where results files are stored.
This updates the output messages to actually tell users where the
results files are stored, especially the perf.data and perf.report files.
BUG=None
TEST=Ran Crosperf with these changes.
Change-Id: I4030d8fbf47c0a313e0ab349da9c4d201f946d11
Reviewed-on: https://chrome-internal-review.googlesource.com/161486
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Commit-Queue: Caroline Tice <cmtice@google.com>
Tested-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf/results_cache.py')
-rw-r--r-- | crosperf/results_cache.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crosperf/results_cache.py b/crosperf/results_cache.py index 91d2b437..35adf0d6 100644 --- a/crosperf/results_cache.py +++ b/crosperf/results_cache.py @@ -64,6 +64,8 @@ class Result(object): def CopyResultsTo(self, dest_dir): self._CopyFilesTo(dest_dir, self.perf_data_files) self._CopyFilesTo(dest_dir, self.perf_report_files) + if len(self.perf_data_files) or len(self.perf_report_files): + self._logger.LogOutput("Perf results files stored in %s." % dest_dir) def _GetNewKeyvals(self, keyvals_dict): # Initialize 'units' dictionary. |