program monitoring and measuring is the activity of collecting information about the execution characteristics of a program. Although this activity is occasionally supported by special purpose hardware, it is normally...
详细信息
program monitoring and measuring is the activity of collecting information about the execution characteristics of a program. Although this activity is occasionally supported by special purpose hardware, it is normally done by adding instrumentation code to the program so that it collects interesting data as it runs. Unfortunately, this alteration is itself a difficult task involving all the complexities of programming. Given some questions to be answered, the programmer must determine what data must be collected, determine where in the program that data can be collected, and add code to the program to collect that data and to process it to produce the desired results. The goal of our work is to automate the process. This paper describes a high level program monitoring and measuring system. The system provides a high level specification language to let programmers specify what they want to know about their program's execution. It automatically generates an augmented program whose execution produces both the results of the original program and answers to the specified questions.
暂无评论