Re: [Valgrind-users] [massif]>> string on stack is shown on heap

2011-11-18 Thread Eric Schwarz
Hi To the best of my knowledge: std::string is an object. When created it fetches some memory from the heap like vector, list or whatever does via the standard allocator - if the allocator has not been replaced. So it can store some chars w/o immediately reallocating. Well, std::string t

Re: [Valgrind-users] Questions about interpreting Memcheck and Massif outputs

2011-09-23 Thread Eric Schwarz
Hi Is the attachment missing? Regards Eric Am 23.09.2011 18:15, schrieb Mahesh N: Hello, I have questions regarding the interpretation of output from Memcheck and Massif. I was wondering if someone could help me interpret the output files. I am not sure I know how to correlate both the ou

Re: [Valgrind-users] Fwd: Massif: --time-unit=B

2011-06-26 Thread Eric Schwarz
Hi Nick You have understood perfectly what I have ment. Many thanks for your attendance of my question. Regards Eric Am 25.06.2011 23:51, schrieb Nicholas Nethercote: On Tue, Jun 21, 2011 at 11:56 PM, Eric Schwarz When using 'massif' it is recommended for short progr

[Valgrind-users] Fwd: Massif: --time-unit=B

2011-06-21 Thread Eric Schwarz
7;valgrind-developers' mailing list? Please see for the intention of my question the previous post below. Many thanks Eric Original-Nachricht Betreff:[Valgrind-users] Massif: --time-unit=B Datum: Mon, 06 Jun 2011 19:18:12 +0200 Von:Eric Schwarz An: valgri

[Valgrind-users] Massif: --time-unit=B

2011-06-06 Thread Eric Schwarz
Hi all When using 'massif' it is recommended for short programs to use '--time-unit=B' option since o/w no or hardly any output is shown using ms_print for visualisation [1]. My question is now regarding the units of the x-axis. As far as I have understood represents the unit the cumulated nu

[Valgrind-users] Interpretation of profiled Heap Data

2011-05-20 Thread Eric Schwarz
Hi all I have profiled two source code examples [1], [2] using Valgrind's massif. The following command has been used # valgrind --tool=massif --time-unit=B --stacks=yes --massif-out-file=.massif.out ./ The output file has been printed w/ ms_print. [3] is the print for [1] . [4] is the prin