|
From: Eric S. <mas...@gm...> - 2011-06-06 17:18:23
|
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 number of bytes allocated and freed when option '--time-unit=B' is used. Snapshots are taken for allocations and de-allocations, but also in-between of them. Since the value of the y-axis (Each vertical bar represents a snapshot, i.e. a measurement of the memory usage at a certain point in time. [1]) and the value of the x-axis, which represents the cumulated number of bytes allocated and freed, have a dependency to each other, how is it possible that a parallel line to the x-axis is drawn in the graph [1] since actually only a change in the heap usage should generate a forward move on the x-axis. Hope my problem was described somehow comprehensible. Many thanks for your contributions Eric [1]...http://valgrind.org/docs/manual/ms-manual.html |