[CSC 435] GCOV
Andrew J. Pounds
pounds_aj at mercer.edu
Thu Jan 25 10:44:39 EST 2007
Hey -- I apologize for not getting the web stuff up yet on gcov. Just
been too darn busy.
Anyway here are a few quick steps...
1. compile your C++ program with the following flags -fprofile-arcs
-ftest-coverage
2. run your code
3. run "gcov sourcefilename" (you can look at all the options for gcov
on the man pages)
4. this should generate several files with a .gcno extension. Look at
these file for the profiling information
--
Andrew J. Pounds, Ph.D. (pounds at theochem.mercer.edu)
Associate Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
More information about the csc435
mailing list