The performance of parallel computing systems is strongly dependent on the runtime behaviour of parallel programs. This paper describes a new approach to measure and analyze the runtime behaviour of parallel programs. Our approach provides programmers with a specification language by means of which measurement targets can be formally described in a measurement model. Driven by the measurement model, the measurement and analysis process can be automated. In addition, our approach provides an efficient method to reduce the amount of measurement data.