Code profiling for optimization
Code profiling for optimization
Code profiling for optimization
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Code</strong> Profiling 2∗ Computationally undecideable; so static call graph algorithms are just overapproximationsgprof• Produces an execution profile of a program– Effect of called functions is incorporated in the profile of caller– Data is taken from a call graph profile file generated by programs that are compiled with the option -pg with gccor g++– Default name <strong>for</strong> the profile data file is gmon.out• Reads and correlates symbol table from the executable image (a.out) with the graph profile file