Opening book details…
Can I read Gcov and Gprof Usage Guide on EtoBox?
Gcov and Gprof Usage Guide by Akash Nisar is a document available to read on EtoBox.
What is Gcov and Gprof Usage Guide about?
This document describes how to generate code coverage reports and profiling for C programs. It explains that for code coverage, gcc is run with flags to instrument the code and generate an execution, then gcov analyzes the output file to produce a code coverage report. For profiling, gcc is compiled with the -pg flag, the program is run, and gprof analyzes the output file to generate profiling statistics.
- Author
- Akash Nisar
- Language
- EN