summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2018-06-15 09:27:12 +0000
committerClement Courbet <courbet@google.com>2018-06-15 09:27:12 +0000
commitf64007fe82dba23ac18005f89bcf805769cc30e6 (patch)
treea0afe03b3eacd12a9f8bb00a12107c3c26904895
parent09c3c37b72f0fa7629e089e31e727448a032132f (diff)
downloadbcm5719-llvm-f64007fe82dba23ac18005f89bcf805769cc30e6.tar.gz
bcm5719-llvm-f64007fe82dba23ac18005f89bcf805769cc30e6.zip
[llvm-exegesis][NFC] Add more comments.
llvm-svn: 334811
-rw-r--r--llvm/tools/llvm-exegesis/lib/BenchmarkResult.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h
index 561cd87f7ed..c9e77ca4922 100644
--- a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud