Re: Test Coverage not on whole execution (gcov)

2008-05-07 Thread Fabien Baron
Thank you for your answer. But I want to know if it is possible to start the program, to break it and set a flag (or something like that) to start coverage counter. Then resume the execution to have a coverage count. The aim of that is to count the number of line executed when one special action

Re: Test Coverage not on whole execution (gcov)

2008-05-01 Thread Ben Elliston
On Wed, 2008-04-30 at 11:01 +0200, Fabien Baron wrote: > I'm working on a big project in C code, and I want to profile it so I > used gcc with the options -ftest-coverage and -fprofile-arcs, and gcov > to analyze the results. It works very well but on the whole project > and the whole execution !!