Method and apparatus for generating run time profiles for program compilation
Abstract
A method for managing a profile includes generating an initial profile of code using an initial sampling frequency. An information entropy value of the profile is computed. A representative profile of the code is determined from additional profiles using a sampling frequency determined from the information entropy value. Other embodiments are disclosed and claimed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 4.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method performed using a computer, comprising: generating an initial profile of code using an initial sampling frequency; computing an information entropy value of the initial profile; and generating a representative profile of the code from additional profiles of the code using a sampling frequency determined from the information entropy value.
- Claim 2Depends on #1
The method of claim 1 , wherein generating the initial profile comprises sampling performance counters.
- Claim 3Depends on #1
The method of claim 1 , wherein the initial profile indicates the occurrence of an instruction retired.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (5)
- "Entropy-Based Profile Characterization and Classification for Automatic Profile Management", Kim et al., 2007, pp. 40-51, .
- "Entropy-Based Profile Characterization and Classification for Automatic Profile Management", Kim et al., 2007, pp. 40-51, <http://dynopt.dtc.umn.edu/papers/kim-acsac-2007.pdf>.
- "Estimation of rare event probabilities using cross-entropy", Homem-de-mello et al., Dec. 2002, pp. 310-319, .
- "Estimation of rare event probabilities using cross-entropy", Homem-de-mello et al., Dec. 2002, pp. 310-319, <http://delivery.acm.org/10.1145/1040000/1030499/p310-homem-de-mello.pdf>.
- "Using perfect sampling in parameter estimation of a whole sentence maximum entropy language model", Amaya et al., Sep. 2000, pp. 79-82, .