next up previous contents
Next: The stats_miss program Up: Utilities to process statistics Previous: The stats and pstats

The plotall program

The plotall program converts the application statistics generated by pstats into a form that can be processed using the splot program. (At the time of this release, splot is available from the URL ftp://cag.lcs.mit.edu/pub/splot/.) Multiple files can be specified with a single invocation of plotall. The plotall script generates two different types of statistics. The first set of statistics gives the execution time for each simulation run specified, split into the components discussed in Section 6.1.1. The execution times for the various runs in this graph are normalized to the execution time of the first specified simulation run. The second set presents the relative weights of each of the components of execution time; thus the execution-time statistics for each application concise statistics file is normalized to its own execution time. This set of statistics is useful for determining the relative contribution of each specific component of execution time. The plotall program then invokes splot to produce PostScript plots from these statistics. This final stage requires the splot program to be available and in a directory included in the user's PATH environment variable.

To create plots called app1eff_exec.ps (execution times) and app1eff_wt.ps (relative component weights) of the phase 2 statistics from the files app1_err and app1_opt_err, one would type:

plotall app1 eff app1_err app1_opt_err 2

The read and write components of execution time are shown in shades of red and green, respectively. Four shades of these colors are used to represent L1 hits (the lightest shade), L2 hits, local memory accesses, and remote memory accesses (the darkest shade).



Vijay Sadananda Pai
Thu Aug 7 14:18:56 CDT 1997