.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "MASSIF-VISUALIZER" 1 "2011-11-21" "" .SH NAME massif-visualizer \- visualizer for Valgrind Massif memory-usage tracking tool .SH SYNOPSIS .sp \fBmassif\-visualizer [massif\-data\-file]\fP .SH DESCRIPTION .sp Massif Visualizer is a tool that visualizes massif data. You run your application in Valgrind with \fB\-\-tool=massif\fP and then open the generated \fBmassif.out.%pid\fP in the visualizer. Gzip or Bzip2 compressed massif files can also be opened transparently. .sp The application consists of three parts: .sp \fBThe Overview Chart\fP .sp The first thing you\(aqll notice is a nice chart that displays the same as e.g. \fBms_print\fP does in Ascii\-Art: total memory consumption over time. .sp Massif\-Visualizer goes beyond that by additionally showing the top most cost\-intensive locations in your code as a stacked graph below the total cost. The graph also reacts on user\-interaction. .sp This view you can use for: .INDENT 0.0 .IP \(bu 2 checking whether your application has memory leaks .IP \(bu 2 finding expensive peaks .IP \(bu 2 finding locations that significantly contribute to the overall memory consumption of your application .UNINDENT .sp \fBThe Snapshot Data Tree\fP .sp Directly next to the above chart, you\(aqll see a tree with all of the massif data. The tree items are colored depending on their cost, with red opaque being the most interesting (peak) elements. Green/transparent items are negligible and don\(aqt add significant cost to your application. .sp You can also search the tree and when you select something in it, the snapshot gets highlighted in the overview chart and the call graph gets updated. .sp \fBThe Call Graph for Detailed Snapshots\fP .sp Massif generates a few detailed snapshots that essentially make up the tree. If you want to get an overview in a more comfortable way than the simple tree view, switch over to the detailed snapshot tab and see the tree visualized as a call graph. Zoom in, zoom out, use the birds eye view and see what contributes to a given snapshot. Note that function calls with the same memory cost are grouped to easily find the interesting parts. .SH OPTIONS .INDENT 0.0 .TP .B \-\-help Show help about options .TP .B \-\-help\-all Show all options .TP .B \-\-author Show author information .TP .B \-v\fP,\fB \-\-version Show version information .TP .B \-\-license Show license information .UNINDENT .SH AUTHOR .sp Written by Milian Wolff. .SH REPORTING BUGS .sp Please report bugs on \fI\%https://bugs.kde.org\fP under the massif\-visualizer product. .SH COPYRIGHT .sp Copyright © 2011 Milian Wolff. License GPLv2+: GNU GPL version 2 or later <\fI\%http://gnu.org/licenses/gpl.html\fP>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH SEE ALSO .sp \fBvalgrind(1)\fP, \fBms_print(1)\fP .SH AUTHOR Milian Wolff .\" Generated by docutils manpage writer. .