aboutsummaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2002-06-01 23:31:42 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2002-06-01 21:31:42 +0000
commit5c856b23687ca60610fb67b80f1e1e663c2db691 (patch)
treee841b1f75587810fd318b1bbb37216cd8835c623 /gcc/params.def
parente2405951a6550c5f6901988d8afc641baa971325 (diff)
downloadgcc-5c856b23687ca60610fb67b80f1e1e663c2db691.zip
gcc-5c856b23687ca60610fb67b80f1e1e663c2db691.tar.gz
gcc-5c856b23687ca60610fb67b80f1e1e663c2db691.tar.bz2
Makefile.in (tracer.o): New.
* Makefile.in (tracer.o): New. * params.def (TRACER_*): New options. * rtl.h (tracer): Declare. * timevar.def (TV_TRACER): New. * toplev.c (dump_file_index): Add DFI_tracer. (dump_file_info): Add tracer. (flag_tracer): New. (lang_indepdenent_options): Add tracer. (rest_of_compilation): Call tracer. * tracer.c: New file. * invoke.texi (-ftracer): Document. (--param tracer-*): Document. From-SVN: r54154
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def35
1 files changed, 33 insertions, 2 deletions
diff --git a/gcc/params.def b/gcc/params.def
index de55ecc..1b31055 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -153,12 +153,43 @@ DEFPARAM(PARAM_MAX_UNROLLED_INSNS,
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",
+ "Select fraction of the maximal count of repetitions of basic block in \
+program given basic block needs to have to be considered hot",
10000)
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",
+ "Select fraction of the maximal frequency of executions of basic \
+block in function given basic block needs to have to be considered hot",
1000)
+DEFPARAM(TRACER_DYNAMIC_COVERAGE_FEEDBACK,
+ "tracer-dynamic-coverage-feedback",
+ "The percentage of function, weighted by execution frequency, that \
+must be covered by trace formation. Used when profile feedback is available",
+ 95)
+DEFPARAM(TRACER_DYNAMIC_COVERAGE,
+ "tracer-dynamic-coverage",
+ "The percentage of function, weighted by execution frequency, that \
+must be covered by trace formation. Used when profile feedback is not available",
+ 75)
+DEFPARAM(TRACER_MAX_CODE_GROWTH,
+ "tracer-max-code-growth",
+ "Maximal code growth caused by tail duplication (in percents)",
+ 100)
+DEFPARAM(TRACER_MIN_BRANCH_RATIO,
+ "tracer-min-branch-ratio",
+ "Stop reverse growth if the reverse probability of best edge is less \
+than this threshold (in percents)",
+ 10)
+DEFPARAM(TRACER_MIN_BRANCH_PROBABILITY_FEEDBACK,
+ "tracer-min-branch-probability-feedback",
+ "Stop forward growth if the probability of best edge is less than \
+this threshold (in percents). Used when profile feedback is available",
+ 30)
+DEFPARAM(TRACER_MIN_BRANCH_PROBABILITY,
+ "tracer-min-branch-probability",
+ "Stop forward growth if the probability of best edge is less than \
+this threshold (in percents). Used when profile feedback is not available",
+ 50)
/*
Local variables:
mode:c