[llvm] r334811 - [llvm-exegesis][NFC] Add more comments.
Clement Courbet via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 15 02:27:12 PDT 2018
Author: courbet
Date: Fri Jun 15 02:27:12 2018
New Revision: 334811
URL: http://llvm.org/viewvc/llvm-project?rev=334811&view=rev
Log:
[llvm-exegesis][NFC] Add more comments.
Modified:
llvm/trunk/tools/llvm-exegesis/lib/BenchmarkResult.h
Modified: llvm/trunk/tools/llvm-exegesis/lib/BenchmarkResult.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-exegesis/lib/BenchmarkResult.h?rev=334811&r1=334810&r2=334811&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-exegesis/lib/BenchmarkResult.h (original)
+++ llvm/trunk/tools/llvm-exegesis/lib/BenchmarkResult.h Fri Jun 15 02:27:12 2018
@@ -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;
More information about the llvm-commits
mailing list