diff options
author | Martin Liska <mliska@suse.cz> | 2017-10-31 16:31:25 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-10-31 15:31:25 +0000 |
commit | 29a4ef18ec053a15ccc224d4cc5c8860b03496b4 (patch) | |
tree | 71b33bb93ae5a9f64c217d8e5eea0a24f2ea6b54 /gcc/doc/gcov.texi | |
parent | cbb449d1f73ad948968b2e55387403f4ee58e0e8 (diff) | |
download | gcc-29a4ef18ec053a15ccc224d4cc5c8860b03496b4.zip gcc-29a4ef18ec053a15ccc224d4cc5c8860b03496b4.tar.gz gcc-29a4ef18ec053a15ccc224d4cc5c8860b03496b4.tar.bz2 |
GCOV: add -j argument (human readable format).
2017-10-31 Martin Liska <mliska@suse.cz>
* doc/gcov.texi: Document new option.
* gcov.c (print_usage): Likewise print it.
(process_args): Support the argument.
(format_count): New function.
(format_gcov): Use the function.
2017-10-31 Martin Liska <mliska@suse.cz>
* g++.dg/gcov/loop.C: New test.
* lib/gcov.exp: Support human readable format for counts.
From-SVN: r254269
Diffstat (limited to 'gcc/doc/gcov.texi')
-rw-r--r-- | gcc/doc/gcov.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi index e186ac6..5c4ba8a 100644 --- a/gcc/doc/gcov.texi +++ b/gcc/doc/gcov.texi @@ -125,6 +125,7 @@ gcov [@option{-v}|@option{--version}] [@option{-h}|@option{--help}] [@option{-d}|@option{--display-progress}] [@option{-f}|@option{--function-summaries}] [@option{-i}|@option{--intermediate-format}] + [@option{-j}|@option{--human-readable}] [@option{-k}|@option{--use-colors}] [@option{-l}|@option{--long-file-names}] [@option{-m}|@option{--demangled-names}] @@ -186,6 +187,10 @@ be used by @command{lcov} or other tools. The output is a single The format of the intermediate @file{.gcov} file is plain text with one entry per line +@item -j +@itemx --human-readable +Write counts in human readable format (like 24k). + @smallexample file:@var{source_file_name} function:@var{line_number},@var{execution_count},@var{function_name} |