Apparatus and method for optimizing applications for multiple operational environments or modes
Abstract
The present invention optimizes an executable software program containing a plurality of basic blocks for several different operational environments or modes by identifying the basic blocks which execute for each particular operational environment or mode, and the frequency of each blocks' execution in the environment or mode. For each environment or mode, the frequency of execution for the block in that environment or mode is compared against a predetermined threshold value. Each basic block whose frequency of execution exceeds the predetermined threshold value is copied into a program segment for that environment or mode. Basic blocks whose frequency of execution does not exceed the predetermined threshold value are copied into a common code segment accessible from each of the program segments. The code in each program segment is then optimized to provide an executable code segment optimized for operation in several different environments or modes.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 53.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of optimizing executable code for operation in a plurality of different operating environments or modes, the method comprising the steps of: A. executing the code with predetermined input conditions from one of the plurality of operating environments or modes; B. monitoring the execution of the code to identify non-branching code blocks which execute more than a predetermined number of times and to identify non-branching code blocks which execute less than a predetermined number of times; C. combining the non-branching code blocks which execute more than a predetermined number of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 53 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- "An Execution Profiler for Modular Programs", Graham et al., Soft. Practice & Experience, vol. 13, 1983, pp. 671-685.
- "Predicting Program Behavior Using Real or Estimated Profiles", Wall et al., ACM SIGPLAN '91 Conf. On Prog. Lang. Design, Jun. 1991, pp. 59-70.
- "The Operational Profile in Software Reliability Engineering: An Overview", J. Musa, 1992, pp. 140-154.
- "Using Profile Information to Assist Classic Code Optimizations", Chang et al., vol. 21 (12) 1991 pp. 1301-1321.
- An Execution Profiler for Modular Programs , Graham et al., Soft. Practice & Experience, vol. 13, 1983, pp. 671 685.