Next: Gcov-tool, Previous: Compatibility, Up: Top [Contents][Index]

## 10 `gcov`—a Test Coverage Program

`gcov` is a tool you can use in conjunction with GCC to test code coverage in your programs.

• Gcov Intro: |  | Introduction to gcov.
• Invoking Gcov: |  | How to use gcov.
• Gcov and Optimization: |  | Using gcov with GCC optimization.
• Gcov Data Files: |  | The files used by gcov.
• Cross-profiling: |  | Data file relocation.