![]() |
| The MULTI® Performance Profiler | |||||||||||||
| Performance Profiler | |||||||||||||
MULTI® provides detailed and summary profiling information to enable the developer to identify the code where execution consumes the greatest amount of time as well as how many times a given procedure or block of code is executing. This helps users select the best optimizations (such as loop unrolling or inlining) for a particular section of code. MULTI's Profiler can gather, arrange, and display profile information in a variety of formats:
|
|
||||||||||||
![]() Click here for a larger view. |
|||||||||||||
|
Special Profiling Reports The Standard Calls Report is MULTI's version of a standard report generated by most profilers. This report lists the functions of a program according to the amount of time spent in each function. The Profiler is tightly integrated with the Debugger; clicking on a line in the Standard Calls Report (or in any other report) brings up the associated source code in the debug window. Each source line is annotated with profiling information, such as the amount of time the program spent on that line or the number of times that line executed. Using the Standard Calls Report to isolate a function hot spot may not be sufficient if the function consists of thousands of lines or many loops. To help in this case, the Source Lines Report lists the individual source lines that are taking up the most time, providing the user with another method of trying to locate performance bottlenecks. In addition, the user can select a range of code for timing analysis. Sometimes a programmer can't figure out why an isolated source line is taking a lot of time. Clicking on the assembly icon button interlaces source code with machine instructions and displays the profiling information on an instruction by instruction basis. Looking at the details of the assembly code can sometimes be revealing; for example, a lot of time can be lost due to effects such as consistent cache misses, which may be clustered around specific assembly instructions.
Profiling Methodology
| |||||||||||||
| » RTOS » MULTI IDE » AdaMULTI IDE » Compilers » Communications Software » Custom Development |
|||||||||||||
|
|