This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Trivial doc changes to analyze_brprob


I'm using analyze_brprob to investigate the first order effects of
changing the jump threading algorithm.  analyze_brprob is a reasonably
convenient way to present data from arc profiling runs, particularly
since it maps execution counts to conditional branches.

Anyway, the comments in analyze_brprob have become slightly out of
date.  Fixing the comments may make it easier for someone else
later to use analyze_brprob :-)

This patch also slightly changes the output to make it easier to
process with awk.  Previously if the predicted and measured hitrates
were both 100% we'd get output like

100.00%/100.00%

Which parses as a single field in awk, which makes further
post-processing of the output of analyze_brprob more difficult
than it ought to be.  So now the hitrates are always output as:

estimated% / measured%

Which provides the consistency which makes it a lot easier to do
additional processing on the data.

Installed.

 

Attachment: ZZZ
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]