I forgot to take into account that you're working on a Win98 box. The case is that profiling has never been supported on that OS (any Win9x box, really), for lazy implementor reasons mostly.
I've added a Win9x solution that will work (but the timer resolution is not as good as on an NT-based OS) -- next release should have this included. For ghc-5.02.1 users, download http://www.galois.com/~sof/Stats.p_o and include it when linking a profiling-based application (or, if you're comfortable using 'ar' to replace entries in an archive, update libHSrts_p.a to include the above Stats.p_o instead). hth --sigbjorn ----- Original Message ----- From: "Andre W B Furtado" <[EMAIL PROTECTED]> To: "Sigbjorn Finne" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, November 17, 2001 21:25 Subject: Re: profiling problem > > Turn down the context switching time and/or the delta between > > profiling samples, e.g., to get the max amount of data, do > > > > prog +RTS -h -C0 -i0 > > When I did this, the size of the .ps file increased, but I'm still getting > an empty graph... Can anyone compile the following simple program with > GHC-5.02(.1) under a Windows platform and check how the heap profile looks > like? > > main = print (f 25 + g 25) > f n = nfib n > g n = nfib (n `div` 2) > nfib n = if n < 2 then 1 else nfib (n-1) + nfib (n-2) > > -- Andre _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users