This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: More typos in analyze_brprob
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Subject: Re: More typos in analyze_brprob
- From: Andreas Jaeger <aj at suse dot de>
- Date: Thu, 26 Jul 2001 08:41:21 +0200
- Cc: <gcc-patches at gcc dot gnu dot org>
- References: <Pine.BSF.4.30.0107251200510.94302-100000@dair.pair.com>
Hans-Peter Nilsson <hp@bitrange.com> writes:
> (CC changed s/-bugs/-patches/)
>
> On Mon, 23 Jul 2001, Andreas Jaeger wrote:
>> * analyze_brprob: Fix more typos.
>
>> # This script is used to calculate two basic properties of the branch prediction
>> -# heuristics - coverage and hitrate. Coverage is number of executions of given
>> +# heuristics - coverage and hitrate. Coverage is number of execution of a given
>> # branch matched by the heuristics and hitrate is probability that once branch is
>> # predicted as taken it is really taken.
>
> Wasn't execution*s* right? Is it the execution number? That
> doesn't match "coverage".
You're right - I revert that part of the patch and fix also another
typo.
I've committed the appended patch as obvious,
Andreas
2001-07-26 Andreas Jaeger <aj@suse.de>,
Hans-Peter Nilsson <hp@bitrange.com>
* analyze_brprob: Fix documentation.
============================================================
Index: contrib/analyze_brprob
--- contrib/analyze_brprob 2001/07/23 13:55:28 1.4
+++ contrib/analyze_brprob 2001/07/26 06:40:29
@@ -22,7 +22,7 @@
#
#
# This script is used to calculate two basic properties of the branch prediction
-# heuristics - coverage and hitrate. Coverage is number of execution of a given
+# heuristics - coverage and hitrate. Coverage is number of executions of a given
# branch matched by the heuristics and hitrate is probability that once branch is
# predicted as taken it is really taken.
#
@@ -30,7 +30,7 @@
# may be directly used in predict.c.
#
# Usage:
-# Step 1: compile and profile your program. You need to use -fprofile-arcs
+# Step 1: Compile and profile your program. You need to use -fprofile-arcs
# flag to get the profiles
# Step 2: Generate log files. The information about given heuristics are
# saved into *.life dumps. You need to pass the -df switch to the compiler as well
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj