diff options
author | Clement Courbet <courbet@google.com> | 2018-09-26 13:35:10 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2018-09-26 13:35:10 +0000 |
commit | 28d4f858243e404a08a905d6e764b74a6824d2d1 (patch) | |
tree | dfb1a10ce9ef5bfc6aa94b65936992a9df9a3bc9 /llvm/tools/llvm-exegesis/lib/BenchmarkResult.h | |
parent | 6acaa18afcc888c5cf66bc9b17318eaf45ff4a91 (diff) | |
download | bcm5719-llvm-28d4f858243e404a08a905d6e764b74a6824d2d1.tar.gz bcm5719-llvm-28d4f858243e404a08a905d6e764b74a6824d2d1.zip |
[llvm-exegesis] Get rid of debug_string.
Summary:
THis is a backwards-compatible change (existing files will work as
expected).
See PR39082.
Reviewers: gchatelet
Subscribers: tschuett, llvm-commits
Differential Revision: https://reviews.llvm.org/D52546
llvm-svn: 343108
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/BenchmarkResult.h')
-rw-r--r-- | llvm/tools/llvm-exegesis/lib/BenchmarkResult.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h index 0fcf4e9fe6d..961c07b99dd 100644 --- a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h +++ b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h @@ -43,7 +43,7 @@ struct InstructionBenchmarkKey { struct BenchmarkMeasure { // A helper to create an unscaled BenchmarkMeasure. static BenchmarkMeasure Create(std::string Key, double Value) { - return {Key, Value, Value, Key}; + return {Key, Value, Value}; } std::string Key; // This is the per-instruction value, i.e. measured quantity scaled per @@ -52,8 +52,6 @@ struct BenchmarkMeasure { // This is the per-snippet value, i.e. measured quantity for one repetition of // the whole snippet. double PerSnippetValue; - // FIXME: remove, use `Key` instead. - std::string DebugString; }; // The result of an instruction benchmark. |