i960 Processor Compiler User's Guide
5-8
5
Using gcov960
The command:
gcov960 -rl -Z pdb
generates the following output:
Example 5-3 gcov960 Sample Output
int i, j;
main()
1 -> {
1 11 10 -> for ( i = 0; i < 10; i++ )
10 -> j += i;
1 -> return j;
}
Number of Blocks: 5
Number of Blocks Executed: 5
Number of Blocks Never Executed: 0
Percentage of Blocks in Source File that were executed: 100.00%
Program database:
Program profile: default.pf
See the i960 Processor Software Utilities User’s Guide for more
information on gcov960.