Re: [Evolution-hackers] Memory testing > 15,000 headers



On Tue, 2006-08-22 at 18:53 +0200, Serjan Pruis a.k.a. Smartuser wrote:
> Sorry Philip,
> 
> What does the valgrind hack do?

It will display a live curve that is an indication of your memory usage.
It basically does this by letting valgrind output each time it has
detected an allocation, the current total memory usage size to stdout
and letting another application (a gtk+ one) read that and plot it in a
drawing area.

In other words: when you click something, you will magically :-) see the
curve grow or lower depending on whether your action caused allocations
or de-allocations (or both). The ideal tool to make yourself look like a
cool developer at managers and project leaders that don't understand a
lot about whatever valgrind outputs. And useful to get a first
impression of when and how-many memory is being allocated in an
interactive application (like Evolution).



-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]