TAU - Tuning and Analysis Utilities -

Tuning and Analysis Utilities

TAU

PRL

Chapter 3. Profiling

This chapter describes running an instrumented application and the generation and subsequent analysis of profile data. Profiling shows the summary statistics of performance metrics that characterize application performance behavior. Examples of performance metrics are the CPU time associated with a routine, the count of the secondary data cache misses associated with a group of statements, the number of times a routine executes, etc.

3.1. Running the Application

After instrumentation and compilation are completed, the profiled application is run to generate the profile data files. These files can be stored in a directory specified by the environment variable PROFILEDIR as explained in Chapter 2. By default, all instrumented routines and statements are measured. Example:


% setenv PROFILEDIR /home/sameer/profiledata/experiment55
% mpirun -np 4 matrix