Allocation break-down by type
Simon Marlow
marlowsd at gmail.com
Wed Sep 15 06:28:25 EDT 2010
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.
Cheers,
Simon
More information about the Glasgow-haskell-users
mailing list