Patents
US 5,950,009 A#144969 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for profile-based reordering of program portions in a computer program

126Forward Citations (#144969 Global)
4.7/yrCitation Velocity (#325156 Global)
27.84Citation PageRank (#191731 Global)
29Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

An apparatus and several methods provide for a more optimized computer program that will have a faster execution time than was possible using the prior art reordering technique that adds to a trace until it finds no more predecessors or successors to add. The apparatus and methods disclosed herein use a variety of methods to reorder the program portions in a more intelligent manner that will improve its run-time performance. Each of these methods involves constructing traces in the control flow graph of the computer program. In a first embodiment, a basic block is only added to a trace if it is not negligible within predetermined limits. This negligibility test results in traces that are not extended for infrequently executed basic blocks. In a second embodiment, a basic block is only added to a trace if it is a perfect partner with the last basic block added to the trace. The concept of a "perfect partner" helps to match basic blocks together in a trace that have the greatest affinity for each other. In a third embodiment, a basic block is only added to a trace if it satisfies "should follow" flags and predetermined negligibility criteria. The "should follow&#3

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 29 · Forward citations: 126.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a computer program residing in the memory comprising a plurality of portions joined by a plurality of program paths; profile data residing in the memory representing the execution frequency of at least one of the plurality of program paths within the computer program; a reordering mechanism residing in the memory and executed by the at least one processor for determining an order for the plurality of portions of the computer program by constructing a plurality of traces, each trace comprisi

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (29)

PatentTitleYearCitations
US 4,847,755 AParallel processing method and apparatus for increasing processing throughout by parallel processing low level instructions having natural concurrencies1989253
US 4,914,590 ANatural language understanding system1990551
US 4,947,315 ASystem for controlling instrument using a levels data structure and concurrently running compiler task and operator task199035
US 5,014,185 ALoop control apparatus199123
US 5,021,945 AParallel processor system for processing natural concurrencies and method therefor1991135
US 5,179,703 ADynamically adaptive environment for computer programs1993194
US 5,193,180 ASystem for modifying relocatable object code files to monitor accesses to dynamically allocated memory1993249
US 5,212,794 AMethod for optimizing computer code to provide more efficient execution on computers having cache memories1993187
US 5,265,254 ASystem of debugging software through use of code markers inserted into spaces in the source code during and after compilation1993227
US 5,333,304 AMethod and apparatus for software application evaluation utilizing compiler applications199430
US 5,335,344 AMethod for inserting new machine instructions into preexisting machine code to monitor preexisting machine access to memory1994145
US 5,355,487 ANon-invasive trace-driven system and method for computer system profiling1994149
US 5,412,799 AEfficient data processor instrumentation for systematic program debugging and development199533
US 5,428,782 APortable and dynamic distributed applications architecture1995169
US 5,428,793 AMethod and apparatus for compiling computer programs with interproceduural register allocation1995100

Non-Patent Literature (5)

  • "Program Restructuring Technique for Improving Memory Management Performance", IBM Technical Disclosure Bulletin, vol. 39, No. 03, Mar. 1996, pp. 203-205.
  • "Statistics Gathering and Analyzing Tool for Open Software Foundation's Distributed Computing Environment", IBM Technical Disclosure Bulletin, vol. 37, No. 02B, Feb. 1994, pp. 215-217.
  • Balasa, F., et al., "Transformation of Nested Loops with Modulo Indexing to Affine Recurrences", Parallel Processing Letters, vol. 4, No. 3 (Sep. 1994), pp. 271-280.
  • Balasa, F., et al., Transformation of Nested Loops with Modulo Indexing to Affine Recurrences , Parallel Processing Letters, vol. 4, No. 3 (Sep. 1994), pp. 271 280.
  • Conte, T.M., et al., "Hardware-Based Profiling: An Effective Technique for Profile-Driven Optimization", International Journal of Parallel Programming, vol. 24, No. 2, Apr. 1996, pp. 187-206.