---
name: "gcov-2.95"
section: "1"
platform: "linux"
package: "gcc-2.95"
version: "1:2.95.4-27"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/gcov-2.95"
---

# gcov-2.95(1)

test coverage program for GNU CC

## NAME

gcov - test coverage program for GNU CC

## SYNOPSIS

**gcov** *\[-b\] \[-v\] \[-n\] \[-l\] \[-f\] \[-o directory\] sourcefile*\

## DESCRIPTION

This manual page documents briefly the **gcov** command. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below.

**gcov** is a test coverage program.  Use it in concert with GNU CC to analyze your programs to help create more efficient, faster running code.  You can use gcov as a profiling tool to help discover where your optimization efforts will best affect your code.  You can also use gcov along with the other profiling tool, **gprof** , to assess which parts of your code use the greatest amount of computing time.

## SEE ALSO

The program is documented fully by *gcc-2.95: The GNU C compiler.*, available via the Info system.  The documentation for gcov can be found in the subsection "Gcov", under "a GNU CC test coverage program".

## AUTHOR

This manual page was written by the egcs maintainers for the Debian GNU/Linux system.
