2
.ds PS P\s-2OST\s+2S\s-2CRIPT\s+2
3
.\" typeset examples in fixed size font as indented paragraph
15
.TH HP2PS 1 "18 April 1992"
17
hp2ps \- convert a heap profile to a \*(PS graph
24
converts a heap profile stored in
26
into a \*(PS graph, sending the result to
28
By convention, files to be processed by
32
extension. However, for compatibility with older versions of
34
this extension can be omitted. If
36
is omitted entirely, then the program behaves as a filter.
40
In order to make graphs more readable,
42
sorts the shaded bands for each identifier. The default sort ordering is for
43
the bands with the largest area to be stacked on top of the smaller ones.
46
option causes rougher bands (those reprsenting series of values with the
47
largest standard deviations) to be stacked on top of smoother ones.
51
puts the title of the graph in a small box at the top of the page. However,
52
if the JOB string is too long to fit in a small box (more than 35 characters),
55
will choose to use a big box instead. The
60
.IP "\fB\-e\fP \fIfloat\fP[in|mm|pt]"
61
Generate encapsulated \*(PS suitable for inclusion in LaTeX documents.
62
Usually, the \*(PS graph is drawn in landscape mode in an area
63
9 inches wide by 6 inches high, and
65
arranges for this area to be approximately centered on a sheet of a4
66
paper. This format is convenient of studying the graph in detail, but
67
it is unsuitable for inclusion in LaTeX documents. The
69
option causes the graph to be drawn in portrait mode, with
71
specifying the width in inches, millimetres or points (the default).
72
The resulting \*(PS file conforms to the
73
.I "Encapsulated Post Script"
74
(EPS) convention, and it can be included in a LaTeX document using Rokicki's
75
dvi-to-\*(PS converter
78
requires the width to exceed 2 inches.
80
Create output suitable for the
82
\*(PS previewer (or similar). In this case the graph is printed in portrait
83
mode without scaling. The output is unsuitable for a laser printer.
85
Use previous parameters. By default, the \*(PS graph is automatically
86
scaled both horizontally and vertically so that it fills the page.
87
However, when preparing a seires of graphs for use in a presentation,
88
it is often useful to draw a new graph using the same scale, shading and
89
ordering as a previous one. The
91
flag causes the graph to be drawn using the parameters determined by
97
Use a small box for the title.
99
Draw the graph in the traditional York style, ignoring marks.
101
Print out usage information.
103
The format of a heap profile is best described by example:
106
DATE "Fri Apr 17 11:43:45 1992"
107
SAMPLE_UNIT "seconds"
137
dvips(1), latex(1), hbchp (1), lmlchp(1)
139
C. Runciman and D. Wakeling,
141
Heap Profiling for Lazy Functional Languages, YCS-172, University of York, 1992
143
\*(PS is a registered trademark of Adobe Systems Incorporated.
145
David Wakeling of the University of York.