2.8. gcov, the Test Coverage Tool

gcov, the code coverage/basic block profile display tool, enables you to analyze the basic block profile of your program by recording how often each basic block is executed. This information enables you to determine the sections of code on critical paths and the code blocks that are not executed at all.