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 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.
      Figure 1 Summary
      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.

      Figure 2 Associated source code
      • Click a function name or call stack name in blue to view the source code information. You can click to navigate to the lines that have been sampled. The source code association function requires that the GLIBC version on the server be 2.34 or later and the GLIBCXX version be 3.4.21 or later.
      • If the source file is inconsistent with the actual running file, the line number may be incorrect.
      • The percentage displayed on the left of a line is the proportion of the cycles used by the line to the total number of cycles used by the function to which that line belongs.
      • If the dwarf option has been enabled during task creation, you can see the source code information. If dwarf is disabled, you can see only the assembly code.
    • 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 some 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."