Partial coverage (coverage not on the whole execution)

Fabien Baron fabien.baron@gmail.com
Wed Apr 23 13:11:00 GMT 2008


Hello,

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 !!
My question is :
Is it possible to start and stop profiling/coverage during the program
execution ? If it is how I can do that ?

I'm working with cygwin !


Thank you for your answer ....


Fabien



More information about the Gcc-help mailing list