gcov.c (struct arcdata): Add hits and total, remove prob.
authorClinton Popetz <cpopetz@cygnus.com>
Wed, 10 Nov 1999 17:17:15 +0000 (17:17 +0000)
committerClinton Popetz <cpopetz@gcc.gnu.org>
Wed, 10 Nov 1999 17:17:15 +0000 (12:17 -0500)
commit8bfa6fc532f4fd28091c639b39f058404f779265
treeab47712e15147a92950972c9fe18941868e1019a
parent36dd3a44a3de178947d69c58ec44969a22e7a0e8
gcov.c (struct arcdata): Add hits and total, remove prob.

* gcov.c (struct arcdata): Add hits and total, remove prob.
(output_branch_counts): New.
(process_args): Set output_branch_counts if -c.
(calculate_branch_probs): Store hits and total instead of
percentage.
(output_data): Emit counts if output_branch_counts is true.
* gcov.texi (Invoking Gcov): Document -c switch..

From-SVN: r30476
gcc/ChangeLog
gcc/gcov.c
gcc/gcov.texi