Profiles
Need a method for locating hot spots
(the expensive 10% of code).
An execution profile for a program is
- the total cost of performing each code block
- for one execution of the program
Cost may be measured via
- a count of the number of times the block is executed
- the total execution time spent within that block
Profiles typically collected at function level
(i.e. code block = function).
|