Go to the first, previous, next, last section, table of contents.

`stat2resid' -- residency info from GC stats

USAGE: `stat2resid' [<file>[`.stat'] [<outfile>]]

The program `stat2resid' converts a detailed garbage collection statistics file produced by the `-S' runtime option into a PostScript heap residency graph. The garbage collection statistics file can be produced without compiling your program for profiling.

By convention, the file to be processed by `stat2resid' has a `.stat' extension. If the <outfile> is not specified the PostScript will be written to <file>`.resid.ps'. If <file> is omitted entirely, then the program behaves as a filter.

The plot can not be produced from the statistics file for a generational collector, though a suitable stats file can be produced using the `-F2s' runtime option when the program has been compiled for generational garbage collection (the default).

`stat2resid' is distributed in `ghc/utils/stat2resid'.


Go to the first, previous, next, last section, table of contents.