From 4f07f5620a68c0a1a019c062c4ff3acdc0518ac3 Mon Sep 17 00:00:00 2001 From: Maria Guseva Date: Thu, 20 Oct 2016 12:08:00 +0300 Subject: [PATCH] Update "Performing Memory Analysis". - Callstack renamed to CallStack according to the actual name in DA - Updated Persistent Memory Charts and Range Analysis descriptions PS3: [LB] Reviewed (some additional quality updates too) Change-Id: Iff406cefbc769dde8bfc345c6690593443573674 --- org.tizen.studio/html/common_tools/da_advanced.htm | 2 +- org.tizen.studio/html/common_tools/da_memory.htm | 62 +++++++++++----------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/org.tizen.studio/html/common_tools/da_advanced.htm b/org.tizen.studio/html/common_tools/da_advanced.htm index a3eee7f..7a07e9c 100644 --- a/org.tizen.studio/html/common_tools/da_advanced.htm +++ b/org.tizen.studio/html/common_tools/da_advanced.htm @@ -45,7 +45,7 @@

This topic explains some additional functionality of the Dynamic Analyzer.

Range Inspection

You can analyze specific ranges using markers or drag and drop operations.

-

Range Inspection with Markers

+

Range Inspection with Markers

You can create markers at specific times and analyze the time between the markers:

  1. Create the markers by double-clicking a chart or detail table view that has a timestamp.
  2. diff --git a/org.tizen.studio/html/common_tools/da_memory.htm b/org.tizen.studio/html/common_tools/da_memory.htm index 1fb9b19..1880263 100644 --- a/org.tizen.studio/html/common_tools/da_memory.htm +++ b/org.tizen.studio/html/common_tools/da_memory.htm @@ -29,11 +29,11 @@

    Content

    @@ -47,8 +47,10 @@

    Figure: Memory usage analysis

    @@ -79,18 +81,18 @@
  3. Main Executable: Allocated heap memory size of the main executable
  4. Figure: Heap Allocation chart

    Heap Allocation chart

    -

    You can also enable the persistent memory charts by selecting Persistent Memory Charts in View > Report.

    -

    These charts are shown above the heap allocation charts after tracing is stopped or when the trace is loaded from file.

    +

    To show the persistent memory charts, select View > Report > Persistent Memory Charts.

    +

    These charts are shown above the heap allocation charts after tracing is stopped or when the trace is loaded from file. You can see the following additional information:

    Figure: Heap Allocation Chart with the Persistent Memory Charts option enabled

    Heap Allocation chart with Persistent Memory Charts

    When you select one of the heap allocation charts or its children, the corresponding Statistics table entry is also selected. This can be helpful if you need more detailed information on some process or library.

    -

    Figure: Cross-focusing from Heap Allocation charts to Statistics table

    -

    Cross-focusing from Heap Allocation to Statistics

    +

    Figure: Cross-focusing from Heap Allocation charts to the Statistics table

    +

    Cross-focusing from Heap Allocation charts to the Statistics table

    @@ -127,24 +129,25 @@

    Range Analysis

    -

    You can add markers to the timeline to divide the timeline into intervals. The allocation and deallocation statistics are shown for each interval individually.

    +

    You can add markers to the timeline to divide the timeline into intervals. The allocation and deallocation statistics are shown for each interval individually in the Range Analysis table.

    To add markers:

    -

    To remove a marker, double click on it.

    -

    Markers and intervals are numbered starting from zero. For more information about the shown statistics data, see Statistics.

    +

    To remove a marker, double-click it.

    +

    Markers and intervals are numbered starting from zero. The Range Analysis table allows you to compare the changes in memory usage between time markers. For the explanation of the data shown for each range, see Statistics.

    -

    Figure: Range Analysis view

    +

    Figure: Range Analysis table

    -

    Details table

    +

    Range Analysis table

    +

    For more information about using ranges with time markers, see Range Inspection with Markers.

    Statistics

    You can check the change of allocation and free by total amount of each library in the Statistics table.

    @@ -161,10 +164,14 @@

    When you select one of the Statistics table entries, the corresponding heap allocation chart is selected in the charts area. For more information, see Heap Allocation chart.

    -

    Note that heap allocation charts are always sorted according to the Statistics table entries order. You can change that order by clicking at one of the columns in the Statistics table. This is useful if you need to sort the libraries charts, for example by persistent allocations size.

    +

    Note that heap allocation charts are always sorted according to the Statistics table entry order. You can change that order by clicking at one of the columns in the Statistics table. This is useful if you need to sort the library charts, for example, by persistent allocation size.

    Persistent Allocations

    -

    You can check the persistent allocations of the heap in the Persistent Allocations table. Persistent allocations represent allocations made within selected interval (or in the whole run if no interval is selected) and not freed by the end of interval.

    +

    You can check the persistent allocations of the heap in the Persistent Allocations table. The table can show 2 types of data:

    +

    Figure: Persistent Allocations table

    Persistent Allocations table

    @@ -180,18 +187,11 @@
  5. Called Function: Called allocation function
  6. -

    The table can show 2 types of data:

    - - - -

    Callstack

    -

    You can see a call stack for each allocation from the Persistent Allocations table in the Callstack table. The allocation's call stack is shown when you select an allocation in the Persistent Allocations table.

    +

    CallStack

    +

    You can see a call stack for each allocation from the Persistent Allocations table in the CallStack table. The allocation's call stack is shown when you select an allocation in the Persistent Allocations table.

    -

    Figure: Callstack table

    -

    Callstack table

    +

    Figure: CallStack table

    +

    CallStack table

    The table contains the following columns: