diff -r bb339882c6e9 -r 0367d2db2c06 sysperfana/analyzetoolext/com.nokia.s60tools.analyzetool.help/html/tasks/viewactivitygraph.htm --- a/sysperfana/analyzetoolext/com.nokia.s60tools.analyzetool.help/html/tasks/viewactivitygraph.htm Tue Aug 24 12:10:03 2010 +0300 +++ b/sysperfana/analyzetoolext/com.nokia.s60tools.analyzetool.help/html/tasks/viewactivitygraph.htm Tue Aug 24 12:16:27 2010 +0300 @@ -1,52 +1,151 @@ - - - - -Viewing AnalyzeTool memory activity graphs - - - - -

Viewing memory activity graph

-

Memory activity graphs are generated automatically after the data capturing is stopped. Alternatively, an existing trace file can be opened to view memory activity graphs. For more information, see AnalyzeTool files.

-

There are two options for opening a memory analysis data file:

- -

Memory activity graphs are displayed in the AnalyzeTool window on the Graph tab. After the data has loaded, select a process in the Process drop down box to view its memory activity.

-

AnalyzeTool graph tab

- -

Description of graph

-

The graph shows the cumulative memory of the given process over time. -Each memory operation is marked with a dot on the graph as follows: -

-

Hovering the mouse over a memory operation shows a tooltip with relevant information. -A memory operation can also be selected with a mouse click. This will highlight the memory operation on the graph, and -more detailed information is shown in the Eclipse Properties view. The Eclipse Properties view may include callstack information if available. -

Tip: Use the arrow left and arrow right keys to move to the next or previous memory operation.

-

When a memory operation is selected, related memory operations are highlighted on the graph. For example, when an alloc is selected, its associated free memory is marked on the graph with a green line going down.

- -

Navigating the graph

- - -

The Eclipse Properties View

-

When a single memory allocation is selected on the graph, the Eclipse Properties view shows detailed information about the memory operation. -If the Eclipse Properties view is not already open, it can be opened by selecting Windows > Show View > Properties. -

-AnalyzeTool Properties View -

Double-clicking an item in the callstack opens the appropriate source code file to that code line, provided the source code file can be found in the selected project in Carbide.c++.

- - - - - \ No newline at end of file + + + + + Viewing AnalyzeTool memory activity graphs + + + + +

Viewing memory activity graph

+ +

This section describe the AnalyzeTool Graph tab and gives instructions on +using it. The following subsections are included:

+ + +

Memory activity graphs are generated automatically after the data capturing +is stopped. Alternatively, an existing trace file can be opened to view memory +activity graphs. For more information, see AnalyzeTool files.

+ +

There are two options for opening a memory analysis data file:

+ + +

Memory activity graphs are displayed in the AnalyzeTool window on the +Graph tab. After the data has loaded, select a process in the +Process drop down box to view its memory activity.

+ +

AnalyzeTool graph tab

+ +

Figure 1. Example +graph

+ +

Description of graph

+ +

The graph shows the cumulative memory of the given process over time. Each +memory operation is marked with a dot on the graph as follows:

+ + +

Hovering the mouse over a memory operation shows a tooltip with relevant +information. A memory operation can also be selected with a mouse click. This +will highlight the memory operation on the graph, and more detailed information +is shown in the Eclipse Properties view. The Eclipse Properties view may +include callstack information if available.

+ +

Tip: Use the arrow left and arrow right keys to move to +the next or previous memory operation.

+ +

When a memory operation is selected, related memory operations are +highlighted on the graph. For example, when an alloc is selected, its +associated free memory is marked on the graph with a green line going down.

+ +

Setting thresholds for displayed allocations

+ +

You can set a threshold for the minimum or maximum size of allocation +displayed in the graph. To do this, click the on the toolbar to open open the graph +settings dialog.

+ +

Note that this option is not available in the optimized +drawing mode, where only leaks are shown due to high number of memory +operations.

+ +

+ +

Figure 2. Graph +Settings dialog

+
    +
  1. Choose one of the radio buttons:
  2. +
+ + + +

The figure below shows the same graph as in Figure 1. above, but now with +threshold setting of 4kB.

+ +

+ +

Figure 3. Example +graph with threshold set at 4 kB

+ +

As you can see in Figure 3 above, memory leaks are always show on the graph, +regardless of the threshold settings.

+ +

The threshold setting is data file specific. So, if you choose another date +file, there will be no thresholds applied to it by default, but you need to set +them in the Graph Settings dialog.

+ + + + +

The Eclipse Properties View

+ +

When a single memory allocation is selected on the graph, the Eclipse +Properties view shows detailed information about the memory operation. If the +Eclipse Properties view is not already open, it can be opened by clicking the + icon on the Graph tab, or by selecting +Windows > Show View > Properties.

+AnalyzeTool Properties View + +

Figure 4. Properties +view

+ +

Double-clicking an item in the callstack opens the appropriate source code +file to that code line, provided the source code file can be found in the +selected project in Carbide.c++.

+ + + +