This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Test Coverage not on whole execution (gcov)
- From: "Fabien Baron" <fabien dot baron at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 30 Apr 2008 11:01:36 +0200
- Subject: Test Coverage not on whole execution (gcov)
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]