File: internals-gcov.txt

package info (click to toggle)
emboss 6.6.0%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 571,536 kB
  • ctags: 40,250
  • sloc: ansic: 460,579; java: 29,439; perl: 13,573; sh: 12,754; makefile: 3,283; csh: 706; asm: 351; xml: 239; pascal: 237; modula3: 8
file content (26 lines) | stat: -rw-r--r-- 881 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
GPROF run-time profiling
========================

Build EMBOSS with configure option --with-gcov and --disable-shared

Building generates .gcno files with each object file.

Run an application. It will generate count files

cd to the directory where the source and object files are.

gcov with the name of the object file (the soruce file name does not get converted right.

% (e.g.) fuzzpro ... reading swissprot .dat file with a pattern query
% cd ajax/core
% gcov libajax_la-ajfileio.o
File 'ajfileio.c'
Lines executed:31.12% of 331
ajfileio.c:creating 'ajfileio.c.gcov'

Look in this file for coverage counts against each record. Skipped
lines with if/then/else have ####, executed lines have the number of
times they were used in the all runs to date.

Delete the .gcda file in the source directory, or rebuild to reset the
counts if you are interested in just a single run.