摘要 |
<p>A method for time use analysis of a higher level language program is performed by displaying source code lines (56) in descending order according to the amount of time spent by the program to execute machine code (94) into which the source code lines have been compiled. Source code lines are displayed (96) arranged in order according to the percentages of the amounts of time spent in execution during runs of the program. A digital processing apparatus (10) for performing the analysis includes a display (15) for showing the source code lines (56) that require the most time of execution, a selection apparatus (108) for selecting those source code lines having the greater opportunity for significant corrective action, and displaying the various selected source code lines (104) in the order in which the lines are kept in the program along with the corresponding time spent by the program to execute machine code.</p> |