|
From: Nicholas N. <n.n...@gm...> - 2011-11-02 04:32:10
|
On Wed, Oct 19, 2011 at 7:42 AM, Stephen Ehmann <se...@gm...> wrote: > I am experiencing a problem which I suspect is due to a large number of > mallocs and frees (in certain patterns) that cause the libc allocator to bog > down and hitch. I am using massif to profile the memory usage of my program > and am trying to use memory pools where possible. I would like to see the > number of allocations at each code location in addition to the total bytes > allocated from that location (I can divide manually but it would be nice if > the tool could do this automatically). Is this possible? Am I missing a > flag to do this? Not possible without modifying the code significantly, sorry. Nick |