Heap Profiling Question

Simon Marlow simonmarhaskell at gmail.com
Fri Jul 21 06:20:30 EDT 2006


Rich Fought wrote:
> I'm trying to use heap profiling with +RTS -hc -i1 options and running 
> my program for about 30 seconds.  However, I only get around 7 samples 
> with seemingly bogus timetags (i.e. 0.00, 3.69, 3.73, 3.10, 4.05, 
> 4.12).  What's going on?
> 
> I'm running GHC 6.4.2 on Windows (MSYS/MinGW).

IIRC the timestamps ignore time spent in GC and time spent sampling the heap, so 
they measure runtime of the program only.

Still, it does look a little strange.  Maybe you could send us the output of 
+RTS -S?

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list