From: "Marco Costalba" <mcostalba@gmail.com>
To: "Nicolas Pitre" <nico@cam.org>
Cc: david@lang.hm, "Jon Smirl" <jonsmirl@gmail.com>,
"Git Mailing List" <git@vger.kernel.org>
Subject: Re: RAM consumption when working with the gcc repo
Date: Fri, 7 Dec 2007 22:25:50 +0100 [thread overview]
Message-ID: <e5bfff550712071325k3d4dadf2gf34c069022cc005@mail.gmail.com> (raw)
In-Reply-To: <alpine.LFD.0.99999.0712071529580.555@xanadu.home>
On Dec 7, 2007 9:46 PM, Nicolas Pitre <nico@cam.org> wrote:
>
> The other 2.3GB is hard to explain.
>
BTW does exist a tool to profile memory consumption by each source
level struct / vector/ or any other data container?
Valgrind checks mainly memory leaks, callgrind gives profiling
information in terms of call graphs and times/cycles consumed by each
function.
What I _really_ would like it's a tool that allows me to *easily*
check how much memory is used in a given point in time by each data
container at source level.
Something like this:
At checkpoint "trigger_now":
struct my_data is instantiated 120234 times
struct super_delta is instantiated 100000 times
At checkpoint "trigger_also_now":
struct my_data is instantiated 12 times
struct super_delta is instantiated 70 times
.....
That would be AWSOME!!! a super debugging killing tool!
Thanks
Marco
next prev parent reply other threads:[~2007-12-07 21:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-07 20:07 RAM consumption when working with the gcc repo Jon Smirl
2007-12-07 21:24 ` david
2007-12-07 20:36 ` Marco Costalba
2007-12-07 20:46 ` Nicolas Pitre
2007-12-07 21:23 ` Jon Smirl
2007-12-07 21:25 ` Marco Costalba [this message]
2007-12-08 11:54 ` Johannes Schindelin
2007-12-08 19:12 ` Marco Costalba
2007-12-07 21:27 ` Jon Smirl
2007-12-07 21:39 ` Jon Smirl
2007-12-07 21:50 ` Jon Smirl
2007-12-08 17:24 ` Martin Koegler
2007-12-07 21:39 ` Jeff King
2007-12-07 21:40 ` Jeff King
2007-12-07 21:43 ` Jon Smirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e5bfff550712071325k3d4dadf2gf34c069022cc005@mail.gmail.com \
--to=mcostalba@gmail.com \
--cc=david@lang.hm \
--cc=git@vger.kernel.org \
--cc=jonsmirl@gmail.com \
--cc=nico@cam.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).