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. |
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Gcov.html