Skip to content

Commit 8de2f67

Browse files
committed
rephrase the flag description
1 parent 1f75670 commit 8de2f67

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/Transforms/IPO/SampleProfile.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,9 @@ static cl::opt<unsigned> ProfileICPRelativeHotnessSkip(
236236

237237
static cl::opt<unsigned> HotFuncCutoffForStalenessError(
238238
"hot-func-cutoff-for-staleness-error", cl::Hidden, cl::init(999000),
239-
cl::desc("Hot function cutoff for staleness error. It's percentile value "
240-
"(multiplied by 10000), e.g. 995000 for 99.5 percentile."));
239+
cl::desc("A function is considered hot for staleness error check if its "
240+
"total sample count is above the specified percentile(multiplied "
241+
"by 10000, e.g. 995000 for 99.5 percentile)."));
241242

242243
static cl::opt<unsigned> MinfuncsForStalenessError(
243244
"min-functions-for-staleness-error", cl::Hidden, cl::init(50),

0 commit comments

Comments
 (0)