|
From: Abebaw W. <a.w...@tu...> - 2005-09-16 21:03:03
|
Hi all, I am quite new to valgrind. Is there any way that I can determine the peak memory requirement of my program using valgrind, or another tool for that matter ? Thanks, Abebaw |
|
From: Brian C. <cr...@fi...> - 2005-09-16 22:02:37
|
glibc's allocator offers a routine called mallinfo() which returns a struct mallinfo object that you might be able to pull some instructive information out of (whenever you like, and without instrumentation). The structure doesn't seem to have man pages, but the comments in /usr/include/malloc.h are descriptive enough. Good luck, -- Brian Abebaw Wubshet wrote: > Hi all, > > I am quite new to valgrind. Is there any way that I can determine the peak > memory requirement of my program using valgrind, or another tool for that matter ? > > Thanks, > Abebaw > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > > |
|
From: Nicholas N. <nj...@cs...> - 2005-09-16 22:17:51
|
On Fri, 16 Sep 2005, Abebaw Wubshet wrote: > I am quite new to valgrind. Is there any way that I can determine the peak > memory requirement of my program using valgrind, or another tool for that matter ? Not directly with the current tools. mpatrol might be useful for this. Nick |