diff options
author | Martin Liska <mliska@suse.cz> | 2016-09-26 13:55:48 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-09-26 11:55:48 +0000 |
commit | c1c6ca6300634cfcbdb15d564c54fe855d43d8c7 (patch) | |
tree | 92e4be7404fe2f345e062a89241a8c161a93bb8b /gcc/doc/gcov.texi | |
parent | 9beb81edce130f7f272478285433e27ff608cda5 (diff) | |
download | gcc-c1c6ca6300634cfcbdb15d564c54fe855d43d8c7.zip gcc-c1c6ca6300634cfcbdb15d564c54fe855d43d8c7.tar.gz gcc-c1c6ca6300634cfcbdb15d564c54fe855d43d8c7.tar.bz2 |
Fix documentation of gcov tool
* doc/gcov.texi: Update program output of gcov tool.
From-SVN: r240494
Diffstat (limited to 'gcc/doc/gcov.texi')
-rw-r--r-- | gcc/doc/gcov.texi | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi index a0a7af7..1523cb1 100644 --- a/gcc/doc/gcov.texi +++ b/gcc/doc/gcov.texi @@ -367,8 +367,9 @@ is what you see when you use the basic @command{gcov} facility: $ gcc -fprofile-arcs -ftest-coverage tmp.c $ a.out $ gcov tmp.c -90.00% of 10 source lines executed in file tmp.c -Creating tmp.c.gcov. +File 'tmp.c' +Lines executed:90.00% of 10 +Creating 'tmp.c.gcov' @end smallexample The file @file{tmp.c.gcov} contains output from @command{gcov}. @@ -452,11 +453,12 @@ When you use the @option{-b} option, your output looks like this: @smallexample $ gcov -b tmp.c -90.00% of 10 source lines executed in file tmp.c -80.00% of 5 branches executed in file tmp.c -80.00% of 5 branches taken at least once in file tmp.c -50.00% of 2 calls executed in file tmp.c -Creating tmp.c.gcov. +File 'tmp.c' +Lines executed:90.00% of 10 +Branches executed:80.00% of 5 +Taken at least once:80.00% of 5 +Calls executed:50.00% of 2 +Creating 'tmp.c.gcov' @end smallexample Here is a sample of a resulting @file{tmp.c.gcov} file: |