Zooming
The following is a list of actions applicable to the Metrics view graphs, including their corresponding button in the view, if the button exists.
Action |
Usage |
Description |
---|---|---|
Select |
Drag a range in a metric graph. |
Selects a time range to examine. Many components (but not the metric graphs) will rescale to display data for this time range only. |
Reset |
Selects the entire time range. All components (including the metric graphs) will rescale to display the entire set of data. All metric graphs will be zoomed out. |
|
Reset |
Double-click outside selected range of samples. |
Selects the entire time range. All components (including the metric graphs) will rescale to display the entire set of data. All metric graphs will be zoomed out. |
Horizontal zoom in |
Left click a selection in a metric graph. |
Zoom in (horizontally) on the selected time range. |
Horizontal zoom out |
Right-click a metric graph. |
Undo the last horizontal zoom in action. |
Vertical zoom in/out |
Ctrl + mouse scroll wheel or Ctrl + drag on a metric graph. |
Zoom a single metric graph in or out. |
Vertical pan |
Mouse scroll wheel or Shift + drag on a metric graph. |
Pan a single metric graph up or down. |
Automatic vertical zoom |
Automatically change the zoom of each metric graph to best fit the range of values each graph contains in the selected time range. Manually panning or zooming a graph will disable auto vertical zoom for that graph only. |
Horizontal Zoom
To examine a small time range in more detail you can horizontally zoom in the metric graphs by selecting the time-range you want to see then left-clicking inside that selected region.
All the metric graphs will then resize to display that selection in greater detail. This only effects the metric graphs, as the graphs in all the other views, such as the Source code viewer, will already have redrawn to display only the selected region when that selection was made.
A right-click on the metric graph zooms out on the metric graph.
This horizontal zoom is limited by the number of samples that were taken and stored in the Linaro MAP file. The more you zoom in the more ‘blocky’ the graph becomes.
Although you can increase the resolution by instructing Linaro MAP to store more
samples (see FORGE_SAMPLER_NUM_SAMPLES
and FORGE_SAMPLER_INTERVAL
in
MAP and Performance Reports variables), Linaro recommends avoiding this because
it might significantly impact performance of both the program being profiled, and of Linaro MAP when
displaying the .map
output file.
Vertical Zoom
You can also zoom in vertically to better see fine-grained variations in the values of a specific
metric. The Auto Vertical Zoom button beneath the metric graphs causes
the graphs to automatically zoom in vertically to fit the data shown in the currently selected time
range. As you select new time ranges, the graphs automatically zoom again so that you see only
the relevant data.
If the automatic zoom is insufficient, you can take manual control of the vertical zoom applied to each individual metric graph. Hold down Ctrl (or CMD on Mac OS X), while either dragging on a metric graph, or using the mouse-wheel while hovering over one, to zoom that graph vertically in or out, and centered on the current position of the mouse.
A vertically-zoomed metric graph can be panned up or down by either holding down Shift while dragging on a metric graph or just using the mouse-wheel while hovering over it. Manually adjusting either the pan or zoom disables auto-zoom mode for that graph. Click the Auto Vertical Zoom button again to re-apply it.