aboutsummaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2019-08-02 10:09:04 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2019-08-02 10:09:04 +0000
commitcc692b4c402bba7dd92f681e3e095b5c6e5f27dd (patch)
tree9d16a6847a5a9ac6689cab729eeb4647fcf40954 /gcc/params.def
parentd603877768c5a4ed26481afc0aff99e87a0a8d62 (diff)
downloadgcc-cc692b4c402bba7dd92f681e3e095b5c6e5f27dd.zip
gcc-cc692b4c402bba7dd92f681e3e095b5c6e5f27dd.tar.gz
gcc-cc692b4c402bba7dd92f681e3e095b5c6e5f27dd.tar.bz2
invoke.texi (hot-bb-count-fraction): Rework description.
* doc/invoke.texi (hot-bb-count-fraction): Rework description. (hot-bb-count-ws-permille): Likewise. (hot-bb-frequency-fraction): Likewise. (unlikely-bb-count-fraction): Likewise. * params.def (hot-bb-count-fraction): Rework description. (hot-bb-count-ws-permille): Likewise. (hot-bb-frequency-fraction): Likewise. (unlikely-bb-count-fraction): Likewise. Remove min and max values. * predict.c (get_hot_bb_threshold): Deal with 0 HOT_BB_COUNT_FRACTION. From-SVN: r274006
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def22
1 files changed, 15 insertions, 7 deletions
diff --git a/gcc/params.def b/gcc/params.def
index 7d0dcae..13001a7 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -427,23 +427,31 @@ DEFPARAM(PARAM_SMS_LOOP_AVERAGE_COUNT_THRESHOLD,
DEFPARAM(HOT_BB_COUNT_FRACTION,
"hot-bb-count-fraction",
- "Select fraction of the maximal count of repetitions of basic block in program given basic "
- "block needs to have to be considered hot (used in non-LTO mode).",
+ "The denominator n of fraction 1/n of the maximal execution count of "
+ "a basic block in the entire program that a basic block needs to at "
+ "least have in order to be considered hot (used in non-LTO mode).",
10000, 0, 0)
+
DEFPARAM(HOT_BB_COUNT_WS_PERMILLE,
"hot-bb-count-ws-permille",
- "A basic block profile count is considered hot if it contributes to "
- "the given permillage of the entire profiled execution (used in LTO mode).",
+ "The number of most executed permilles of the profiled execution of "
+ "the entire program to which the execution count of a basic block "
+ "must be part of in order to be considered hot (used in LTO mode).",
990, 0, 1000)
+
DEFPARAM(HOT_BB_FREQUENCY_FRACTION,
"hot-bb-frequency-fraction",
- "Select fraction of the maximal frequency of executions of basic block in function given basic block needs to have to be considered hot.",
+ "The denominator n of fraction 1/n of the execution frequency of the "
+ "entry block of a function that a basic block of this function needs "
+ "to at least have in order to be considered hot.",
1000, 0, 0)
DEFPARAM(UNLIKELY_BB_COUNT_FRACTION,
"unlikely-bb-count-fraction",
- "The minimum fraction of profile runs a given basic block execution count must be not to be considered unlikely.",
- 20, 1, 10000)
+ "The denominator n of fraction 1/n of the number of profiled runs of "
+ "the entire program below which the execution count of a basic block "
+ "must be in order for the basic block to be considered unlikely.",
+ 20, 0, 0)
DEFPARAM (PARAM_ALIGN_THRESHOLD,
"align-threshold",