A Specificational Approach to High Level Program Monitoring and Measuring

  • Authors:
  • Yingsha Liao;Donald Cohen

  • Affiliations:
  • NEC Systems Lab, Princeton, NJ;USC/Information Science Institute, Marina del Rey, CA

  • Venue:
  • IEEE Transactions on Software Engineering - Special issue on software measurement principles, techniques, and environments
  • Year:
  • 1992

Quantified Score

Hi-index 0.00

Visualization

Abstract

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 those 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 the work described is to automate the process. A high-level program monitoring and measuring system is presented. 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.