next up previous contents
Next: The plotall program Up: Utilities to process statistics Previous: Utilities to process statistics

The stats and pstats programs

The stats program is used to further condense the concise statistics generated by RSIM. This program displays the most important variables from the concise statistics file produced by RSIM, averaged across all processors. The stats program takes as input the phase of interest for the application and the concise statistics file of RSIM (the file redirected using the ``-2'' option, or the _err file produced as a result of the ``-S'' option). Multiple files can be processed with a single invocation of stats; each file is processed separately. For example, to condense the statistics of phase 2 from the files app1_err and app1_opt_err, one would type:

stats app1_err app1_opt_err 2

The statistics displayed are execution time and its various components, as well as the average latencies of memory operations, as seen from the point of entering the processor active list, from the point of address generation, and from the point of issue to the caches.

pstats is invoked with the same arguments as stats: the only difference is that pstats gives a more detailed categorization of the memory component of execution time according to the level of the memory hierarchy at which each access was resolved.



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