/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Development/debugging/profiling/gcov.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2009-04-09 03:21:08 UTC
  • Revision ID: csa@dside.dyndns.org-20090409032108-w4edamdh4adrgdu3
import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Coverage testing
 
2
================
 
3
 Provides information on how often each line of code were executed, which branch
 
4
 of execution how often was choosen, which values were returned from functions
 
5
  + Numeric values only
 
6
 
 
7
 Compilation flags: -ftest-coverage -fprofile-arcs -lgcov
 
8
 
 
9
 Execution:
 
10
 + creates in all directories files sources.(gcda|gcno|gcov) with info's
 
11
 + actually creates in the directories where object files (not sources) are
 
12
 resist (and gcov should be called there)
 
13
 + exectuion: gcov -b -f <source_name> (without extension)
 
14
 + if gconv files are not removed prior to new run, the statistics will
 
15
 continue accomulating
 
16
 
 
17
 
 
18
Notes
 
19
=====
 
20
 + Prevents dlopening libraries (?)
 
21
 
 
 
b'\\ No newline at end of file'