Rate This Document
Findability
Accuracy
Completeness
Readability

Viewing Analysis Results

Prerequisites

A hotspot function analysis task has been created and the analysis is complete.

Procedure

  1. In the System Profiler area on the left, click the name of the target analysis task.

    The node list is displayed.

  2. Click the name of the target node to view the analysis results.
    • Click the node name. The Summary tab page is displayed by default, as shown in Figure 1. For details about the parameters, see Table 1.
      • The Tuning Suggestions area is displayed only when the system detects metrics to be tuned. You can expand the area to view detailed suggestions and solutions.
      • If a version optimized for the Kunpeng computing platform already exists, it is marked by . You can move the mouse pointer to the icon to view the tuning suggestion, download the optimized function, and copy the URL.
      • unknown indicates that the address of the function cannot be associated.
      • You can click to automatically locate the latest report. When all reports are generated, the automatic locating function is disabled. You can click a time point to view the corresponding analysis data.
      • In the data column, you can click for data search, to filter the data, and to sort the data in ascending or descending order.
      • Click a function or call stack name in blue to view the source code. Click to navigate to the first line of the hotspot function in the source code.
      • If you have enabled the dwarf option when creating the task, you can jump to the source code information. If dwarf is disabled, you can only jump to the assembly code. (After you set C/C++ Source File Directory, the tool searches this directory for the source file. If you do not set this directory, the tool searches the upper-level directory of the application for the source file. If the source file is not found, the source code cannot be displayed.)
      Figure 1 Summary
      Figure 2 Associated source code
      Table 1 Parameters on the Summary tab page

      Parameter

      Description

      Hotspot Call Stack

      Grouping Mode

      Grouping mode for data display. The default value is Function/Callstack. Thread/Function/Callstack is unavailable.

      Function/Callstack

      The collected function name or call stack name.

      Proportion of Cycles (%)

      Percentage of the corresponding function or call stack in the entire cycle.

      Cycles

      The number of cycles of the corresponding function or call stack.

      Process Name

      The process name of the corresponding function or call stack.

      Shared Library/File

      The shared library or file of the corresponding function or call stack.

    • Click the Task Information tab to view the detailed configuration and sampling information about the task on the current node.

      If the task fails to be executed, the failure cause is displayed on the Task Information tab page.

      If part of data fails to be collected but the overall task execution is not affected, you can view the exception message in Exception Information.

      Collection End Cause displays the reason why the data collection of the current task ends, for example, "Task collection times up" or "File size reaches the collection limit."