Using paths to measure, explain, and enhance program behavior
T. Ball, James R. Larus · Computer · 2000
What happens when a computer program runs? The answer can be frustratingly elusive, as anyone who has debugged or tuned a program knows. As it runs, a program overwrites its previous state, which might have provided a clue as to how the program got to the point at which it computed the wrong answer or otherwise failed. This all-too-common experience is symptomatic of a more general problem: the difficulty of accurately and efficiently capturing and analyzing the sequence of events that occur when a program executes. Program paths offer an insight into a program's dynamic behavior that is difficult to achieve any other way. Unlike simpler measures such as program profiles, which aggregate information to reduce the cost of collecting or storing data, paths capture some of the usually invisible dynamic sequencing of statements. The article exploits the insight that program statements do not execute in isolation, but are typically correlated with the behavior of previously executed code.
Cited by 54 works. doi:10.1109/2.869371
Authors
References
- A Complexity Measure
- Trace Scheduling: A Technique for Global Microcode Compaction
- A study of branch prediction strategies
- A System to Generate Test Data and Symbolically Execute Programs
- A comparison of dynamic branch predictors that use two levels of branch history
- Trace Cache: A Low Latency Approach to High Bandwidth Instruction Fetching
- Efficient Path Profiling
- Exploiting hardware performance counters with flow and context sensitive profiling
- A formal evaluation of data flow path selection criteria
- The use of program profiling for software maintenance with applications to the year 2000 problem