https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111038
Bug ID: 111038 Summary: The function summary in gcov Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: gejoed at rediffmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- The GNU GCOV documentation talks about -f option : -f --function-summaries Output summaries for each function in addition to the file level summary. In my case, -f is used and I could see some lines with more than 100% use. examples would be like : Function abcd_func1' Lines executed:140.00% of 5 Function 'efgh_func2' Lines executed:56.25% of 16 File 'filename.c' Lines executed:16.87% of 83 Creating 'filename.c.gcov' Here , the abcd_func1 is shown to have 140% of 5 lines. How do we interpret this ? There were other cases of 800%, 1400% etc... Is it because of the number of times hit during the execution cycle with the executable ? Let me know. Thanks! -Gejoe