Linux® Debugging and Performance Tuning: Tips and …

Also, the gcov output shows the reduced number of times each line needs to be executed. In Listing 1.9, the total running time has been reduced from 103.74 seconds to 2.80 seconds. Figure 1.15. Building and running sample2. Figure 1.16. Using gprof on sample2. Listing 1.9 shows the output of gprof for the sample2 program. Listing 1.9. ................
................