@@ -16,8 +16,8 @@ compare snapshots to check to see if memory is being release or whether there
1616are memory leaks.
1717
1818Snapshots will be displayed in a table below the timeline graph. If there are
19- no snapshots in the trace, the area under the timeline graph will indicate that
20- there is nothing to show and offer some guidance of what may be required, as
19+ no snapshots contained in the trace, the area under the timeline graph will indicate
20+ that there is nothing to show and offer some guidance of what may be required, as
2121shown above. There are other instances in the tool showing similar displays,
2222such as a resource table being empty if the selected allocation contains no
2323resources, or if a resource type has no additional properties to show.
@@ -27,16 +27,56 @@ graph and in the table below the graph.
2727
2828.. image :: media/timeline_1.png
2929
30- By default, the graph will be colored by resource type. A color legend below
31- the timeline will indicate what resource these colors represent. The coloring
32- mode can be changed by selecting from the combo box above the top-left of the
33- timeline.
30+ Timeline graph
31+ --------------
32+ The **Timeline graph ** displays a visual representation of memory related events
33+ contained in the trace that occurred over a period of time along the horizontal axis.
34+ There are four viewing modes:
35+
36+ 1. Committed (the default view)
37+
38+ 2. Resource usage count
39+
40+ 3. Virtual memory heap
41+
42+ 4. Resource usage size
43+
44+ The viewing mode can be changed by selecting from the combo box above the top-left
45+ of the timeline. Note that with previous releases of RMV, the default Timeline view was
46+ "Resource usage size." The default mode is now "Committed."
47+
48+ A color legend below the timeline will indicate what resources are represented by the
49+ colors in the timeline.
3450
3551When the mouse is over the timeline, the tooltip help will show information
3652about the memory allocated at the time corresponding to the mouse position. The
3753time can be seen from the ruler above the graph. The most abundant resources
3854are listed and the rest are combined in the last entry as "Other".
3955
56+ Starting with release 1.8, RMV takes overlapping resources (i.e., aliased
57+ resources) into account when calculating usage type sizes on the timeline. When
58+ RMV detects multiple resources that are bound to sections of virtual memory that
59+ overlap, the usage size is attributed to the resource with the highest importance.
60+ This is reflected in the height of bars on the "Resource usage size" timeline and
61+ also, the values displayed on the tooltip when the mouse hovers over a point on
62+ the timeline graph. The priority of resource importance's matches the order of
63+ resource types displayed on the legend below the "Resource usage size" timeline
64+ graph. Resource types towards the left side of the legend have higher priority
65+ and those towards the right have lower priority. In past releases of RMV, the
66+ legend order was reversed. The order of the stacked usage types on the timeline
67+ graph in prior releases was also reversed.
68+
69+ Calculating usage sizes in this way gives a more accurate assessment of memory utilization
70+ and prevents memory from being counted multiple times. For a deeper explanation
71+ of how memory size is calculated for aliased resources, please see the **Resource overview **
72+ section in this document.
73+
74+ The additional usage size calculations required to take aliased resources into
75+ account requires considerably more time to process. For this reason, a Cancel
76+ button has been added below the loading animation while the "Resource usage size"
77+ timeline is being generated. At any time during this processing, the user may
78+ click the Cancel button to revert to the previously displayed timeline mode.
79+
4080**Zoom controls **
4181
4282Zoom controls are provided for adjusting the time scale that is viewable on screen
0 commit comments