Predicting Program Behavior Using Real or Estimated Profiles (1990)
| Citations: | 140 - 4 self |
BibTeX
@INPROCEEDINGS{Wall90predictingprogram,
author = {David W. Wall},
title = {Predicting Program Behavior Using Real or Estimated Profiles},
booktitle = {},
year = {1990},
pages = {59--70}
}
OpenURL
Abstract
There is a growing interest in optimizations that depend on or benefit from an execution profile that tells where time is spent. How well does a profile from one run describe the behavior of a different run, and how does this compare with the behavior predicted statically by examining the program itself ? This paper defines two abstract measures of how well a profile predicts actual behavior. According to these measures, real profiles indeed do better than estimated profiles, usually. A perfect profile from an earlier run with the same data set, however, does better still, sometimes by a factor of two. Using such a profile is unrealistic, and can lead to inflated expectations of a profile-driven optimization. i 1. Introduction Many people have built or speculated on systems that use a run-time profile to guide code optimization. Applications include the selection of variables to promote to registers [7,8], placement of code sequences to improve cache behavior [3,6], and pre...







