logo       

RE: Re[4]: the impossible happened: msg#00112

lang.haskell.glasgow.bugs

Subject: RE: Re[4]: the impossible happened

On 23 May 2005 18:36, Bulat Ziganshin wrote:

>> It's all very like cost-centre stacks, which is why GHC provides the
>> -xc option when you are profiling. I think that give you what you
>> want --- but you have to compile your program profiled.
>
> i never used -prof, so i can't comment this. btw, -prof is not
> compatible with -threaded, at least in my distribution (i guess that
> it may be just lack of appropriately compiled libraries)

-prof and -threaded work fine together, but you do need the profiling
libraries installed. You don't need special -prof/-threaded libraries:
only the RTS changes when you specify -threaded.

Try -prof and +RTS -xc, you might be pleasantly surprised (or
unpleasantly surprised: it doesn't *always* work).

Cheers,
Simon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise