Program profiling problems, and a solution via machine language rewriting

  • Authors:
  • John F. Reiser;Joseph P. Skudlarek

  • Affiliations:
  • Mentor Graphics Corporation, Wilsonville, Oregon;Mentor Graphics Corporation, Wilsonville, Oregon

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1994

Quantified Score

Hi-index 0.00

Visualization

Abstract

The executable binary image of a program can be mechanically rewritten to produce a second program that collects execution statistics as a side effect, while executing the same routines and producing the same primary outputs as the original program. We describe a general technique and present our experiences with several alternate profiling mechanisms. The challenges of presenting the profile information in easily-used. understandable ways are also discussed.