summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2018-06-04 11:11:55 +0000
committerClement Courbet <courbet@google.com>2018-06-04 11:11:55 +0000
commit7228721b30ae81a0037263966f2f001eadae2493 (patch)
treec1ceccb2e5fb6c788d0c449d37995a240a17537e /llvm/tools/llvm-exegesis/lib/BenchmarkResult.h
parentb6480879afa4990e486ddf07f8869fddae621ff3 (diff)
downloadbcm5719-llvm-7228721b30ae81a0037263966f2f001eadae2493.tar.gz
bcm5719-llvm-7228721b30ae81a0037263966f2f001eadae2493.zip
[llvm-exegesis] Analysis: Show inconsistencies between checked-in and measured data.
Summary: We now highlight any sched classes whose measurements do not match the LLVM SchedModel. "bad" clusters are marked in red. Screenshot in phabricator diff. Reviewers: gchatelet Subscribers: tschuett, mgrang, RKSimon, llvm-commits Differential Revision: https://reviews.llvm.org/D47639 llvm-svn: 333884
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/BenchmarkResult.h')
-rw-r--r--llvm/tools/llvm-exegesis/lib/BenchmarkResult.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h
index 4362df86df6..41d631eca4b 100644
--- a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h
+++ b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h
@@ -77,6 +77,8 @@ public:
double min() const { return MinValue; }
double max() const { return MaxValue; }
+ const std::string &key() const { return Key; }
+
private:
std::string Key;
double SumValues = 0.0;
OpenPOWER on IntegriCloud