Evaluation and optimization of code
Abstract
A memory map evaluation tool is provided that organizes a program in a manner most compatible with use of a cache. The tool includes a method that involves executing a first version of the program according to a first memory map to generate a program counter trace, converting the program counter trace into a specific format and then translating the program counter trace into physical addresses using a memory map to be evaluated, different from the first memory map. Those physical addresses are then used to evaluate the number of likely cache misses using a model of a direct-mapped cache for the memory map under evaluation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 11.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of evaluating a set of memory maps for a program having a plurality of functions, the method comprising: (a) executing a first version of the program according to a first memory map to generate a program counter trace; (b) converting the program counter trace into a program counter trace format defining a memory location in association with a function and an offset within the function using the first memory map; (c) translating the program counter trace format into physical addresses using one of the set of memory maps to be evaluated, different from the first memory map; (d) evaluati
- Claim 2Depends on #1
The method of claim 1 , wherein step (c) is carried out by
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗