[PATCH] D20648: Analysis pass to access profile summary info
David Li via llvm-commits
llvm-commits at lists.llvm.org
Fri May 27 15:24:30 PDT 2016
davidxl added inline comments.
Comment at: lib/Analysis/ProfileSummaryInfo.cpp:34
@@ +33,3 @@
+static cl::opt<int> ColdCountPercentile(
+ "cold-count-percentile", cl::Hidden, cl::init(999999), cl::ZeroOrMore,
+ cl::desc("A count is cold if it is below the minimum count"
> I'm a bit confused as to why this is higher than the percentile for hot functions. Sorry if this is a basic question! Could you explain this a bit?
Higher percentile means that more (colder) blocks are covered in the accumulative sum -- the higher the percentile, the colder the threshold.
More information about the llvm-commits