On Wed, 15 Sep 2010 07:28:25 -0300, Simon Marlow <[email protected]>
wrote:
On 15/09/2010 03:49, Bruno Martínez Aguerre wrote:
To understand better whether ghc is taking advantage of my UNPACK
pragmas, I want to profile my program and sort the allocations by type.
I couldn't find an option to do this. -p is only by cost-center, and -hy
only works for live data, and I want all allocations. Am I missing some
option? Any tips to better debug UNPACK, apart from inspecting core?
That's a kind of profiling we don't have, I'm afraid. The allocation
counter only has a single dimension.
Inspecting core is the only way right now to determine whether UNPACK is
doing what you hope it is.
Thanks, Simon.
Bruno
_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users