Analysis of Algorithms : An Active Learning Approach

(Ron) #1
1.7 ANALYZING PROGRAMS 39

At the end of a program, these counters would tell us how many times each
of the blocks of code in a subprogram was executed. We can then look at those
parts where the most work is done for improvements.
This process is important, and many computers and software development
systems have program profiling tools that will produce this information for you
automatically.

Free download pdf