|
From: Nicholas N. <nj...@cs...> - 2008-04-10 22:11:14
|
On Thu, 10 Apr 2008, Lori Ann Sutton wrote: > Ok, so here's a follow up question about valgrind. You know how it outputs > a .ps file with the total bytes allocated over life of program times the > milliseconds? Is there any way that you can get valgrind to output > separate numbers for total bytes and milliseconds it took to run the > program? I see that in the postscript graph, there is a number on the > bottom right side of the graph that one could presume is the total time it > took to run the program, but who really knows if that's what it is. Is it? > It could just be a point on the graph, not the total. Assuming that this > is the actual time, I see that you could just divide the number at the top > of the postscript (the bytes X ms number) by the ms on the graph and get > total bytes. But, it would be nice to just have the 2 separate numbers > reported someplace so I don't have to guess. Thanks, Lori Sutton You're talking about Massif, versions prior to 3.3.0. The x-axis on the graph is time. The y-axis is bytes. The space x time figure is the area under the graph. For 3.3.0, Massif was changed a lot. It no longer produces a PostScript graph, and it doesn't talk about space-time because people found that confusing and not particularly helpful. This version may do more what you want, try downloading 3.3.0 and reading the Massif chapter in the manual. Nick |
|
From: Nicholas N. <nj...@cs...> - 2008-04-10 22:31:18
|
On Thu, 10 Apr 2008, Lori Ann Sutton wrote: > Oh, thanks. Does this work on freebsd 4? http://www.valgrind.org/info/platforms.html Nick |