profiling problem

Andre W B Furtado awfurtado@uol.com.br
Mon, 12 Nov 2001 01:08:37 -0200


This is a multi-part message in MIME format.

------=_NextPart_000_003A_01C16B16.8EB89AC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I've installed GHC-5.02 (and the profiling libraries) for Windows platforms
(I have Windows98 running on my machine), but everytime I try to check the
heap profiling for a program, I always get an empty graph (as the one
attached). I'm sure I am doing the right steps (compiling the program with
"-prof -auto-all" option, executing it with "+RTS -h" and then calling
hp2ps).

Any suggestions?

-- Andre

------=_NextPart_000_003A_01C16B16.8EB89AC0
Content-Type: application/postscript;
	name="test.ps"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="test.ps"

%!PS-Adobe-2.0
%%Title: teste -hC
%%Creator: hp2ps (version 0.25)
%%CreationDate: Mon Nov 12 01:01 2001
%%EndComments
-90 rotate
-756.000000 72.000000 translate
/HE10 /Helvetica findfont 10 scalefont def
/HE12 /Helvetica findfont 12 scalefont def
newpath
0 0 moveto
0 432.000000 rlineto
648.000000 0 rlineto
0 -432.000000 rlineto
closepath
0.500000 setlinewidth
stroke
newpath
5.000000 407.000000 moveto
0 20.000000 rlineto
638.000000 0 rlineto
0 -20.000000 rlineto
closepath
0.500000 setlinewidth
stroke
HE12 setfont
11.000000 413.000000 moveto
(teste -hC) show
HE12 setfont
(0 bytes x seconds)
dup stringwidth pop
2 div
319.000000
exch sub
413.000000 moveto
show
HE12 setfont
(Mon Nov 12 01:01 2001)
dup stringwidth pop
637.000000
exch sub
413.000000 moveto
show
45.000000 20.000000 moveto
564.000000 0 rlineto
0.500000 setlinewidth
stroke
HE10 setfont
(seconds)
dup stringwidth pop
609.000000
exch sub
5.000000 moveto
show
45.000000 20.000000 moveto
0 382.000000 rlineto
0.500000 setlinewidth
stroke
gsave
HE10 setfont
(bytes)
dup stringwidth pop
402.000000
exch sub
40.000000 exch
translate
90 rotate
0 0 moveto
show
grestore
45.000000 20.000000 moveto
-4 0 rlineto
stroke
HE10 setfont
(0)
dup stringwidth
2 div
20.000000 exch sub
exch
40.000000 exch sub
exch
moveto
show
showpage

------=_NextPart_000_003A_01C16B16.8EB89AC0--