From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Memory profiling
Date: Fri, 27 May 2005 14:51:52 +0200
Date: 2005-05-27T14:51:52+02:00 [thread overview]
Message-ID: <429717E8.6030806@mailinator.com> (raw)
Hello,
I'm wondering if there exists some utility -maybe gdb based- that would
allow to run a program and at a given time interrupt it and dump the
heap usage classified by the pointer types. For example:
Heap allocation for process <blah>:
Type_X_Access: 24.5 MB
Type_Y_Access: 225.3 KB
...
I bet this could be very useful for memory usage profiling and
optimization. I've just seen Massif from the Valgrind toolsuite and I'm
going to read more about it. If someone can confirm this is in the right
path...
I suppose something similar can be achieved using distinct storage pools
for each access type being tracked, but I find this more inconvenient.
Ummm, maybe a type holding a list of storage pools created on demand...
So, any suggestions in this direction?
next reply other threads:[~2005-05-27 12:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-27 12:51 Alex R. Mosteo [this message]
2005-05-27 15:24 ` Memory profiling Robert A Duff
2005-05-27 15:55 ` Alex R. Mosteo
2005-05-27 16:27 ` Alex R. Mosteo
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox