Test Coverage not on whole execution (gcov)

Fabien Baron fabien.baron@gmail.com
Wed Apr 30 22:42: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 ....

PS. Sorry if it is not the right place to ask that question !

Fabien [FR]



More information about the Gcc mailing list