diff options
author | Clement Courbet <courbet@google.com> | 2018-06-15 09:27:12 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2018-06-15 09:27:12 +0000 |
commit | 089aa0bc9b741edf9534595831b30eed03591c0e (patch) | |
tree | 93704aa2d8476c24b34e991954f0c9ff7caa9031 /tools/llvm-exegesis | |
parent | 86935c1b432fc081fc43bf57e4744ae5319a25d1 (diff) |
[llvm-exegesis][NFC] Add more comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334811 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-exegesis')
-rw-r--r-- | tools/llvm-exegesis/lib/BenchmarkResult.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/llvm-exegesis/lib/BenchmarkResult.h b/tools/llvm-exegesis/lib/BenchmarkResult.h index 561cd87f7ed..c9e77ca4922 100644 --- a/tools/llvm-exegesis/lib/BenchmarkResult.h +++ b/tools/llvm-exegesis/lib/BenchmarkResult.h @@ -51,7 +51,10 @@ struct InstructionBenchmark { ModeE Mode; std::string CpuName; std::string LLVMTriple; + // The number of instructions inside the repeated snippet. For example, if a + // snippet of 3 instructions is repeated 4 times, this is 12. int NumRepetitions = 0; + // Note that measurements are per instruction. std::vector<BenchmarkMeasure> Measurements; std::string Error; std::string Info; |