Forrest logo
back to context overview

gcov

List of commands for gcov:

  • gcov:tldr:0765c gcov: Write individual execution counts for every basic block.
    $ gcov --all-blocks ${filename-cpp}
    try on your machine
    explain this command
  • gcov:tldr:20087 gcov: Write branch frequencies to the output file and print summary information to `stdout` as a percentage.
    $ gcov --branch-probabilities ${filename-cpp}
    try on your machine
    explain this command
  • gcov:tldr:3fad2 gcov: Write file level as well as function level summaries.
    $ gcov --function-summaries ${filename-cpp}
    try on your machine
    explain this command
  • gcov:tldr:504ee gcov: Generate a coverage report named `file.cpp.gcov`.
    $ gcov ${filename-cpp}
    try on your machine
    explain this command
  • gcov:tldr:5bf2c gcov: Do not create a `gcov` output file.
    $ gcov --no-output ${filename-cpp}
    try on your machine
    explain this command
  • gcov:tldr:9f849 gcov: Write branch frequencies as the number of branches taken, rather than the percentage.
    $ gcov --branch-counts ${filename-cpp}
    try on your machine
    explain this command
back to context overview