64-Bit Running Mode Check
The tool identifies the 32-bit applications to be ported to the 64-bit platform and provides modification suggestions. It supports GCC 4.8.5 to GCC 10.3.0.
Prerequisites
You have logged in to the Kunpeng DevKit.
- /opt is the default installation directory of the tool. The following uses this directory as an example. Replace it with the actual directory.
- In the IDE, the tool plugin can scan local projects. If the source code is included in a compressed package, decompress the package and select the decompressed folder.
Procedure
- On the left pane of the page, choose Affinity Analyzer > 64-bit Running Mode Check, and click
to create a task. See Figure 1. - You can select the source code to be checked in either of the following ways:
- Enter the absolute path of the source file.
- Click Select Folder on the right and select the folder for storing the source file.
- Click Check to start the 64-bit running mode check. After the check is complete, the check report page is displayed. See Figure 2.
- You can click
to sort the source files to be modified by path or number of recommended items. - In the upper right corner of the page, you can click Download Report. Then click Download Report (.csv) or Download Report (.html) to download the analysis report. Alternatively, you can click
next to the task name and click Download Report (.csv) or Download Report (.html) to download the analysis report.
Table 1 Parameters in the report Parameter
Description
Source File Statistics
Files to Modify
Total number of files to be modified in the source file path.
Code Lines to Modify
Number of code lines to be modified.
Total Number of Suggestions
Total number of items recommended for modification. Modify these items to enhance application performance on the Kunpeng platform.
Source Files to Modify
Source files to be modified and suggestions for each file. You can click View Suggested Source Code in the Operation column to quickly go to the source file suggestion page.
- You can click
- You can click the View Suggested Source Code tab to switch to the page for modifying the source code. See Figure 3.
- The tool supports concurrent running of multiple 64-bit running mode check tasks.
- To cancel a task, click Close during the task running process.
- To modify the configuration of a successful or failed task, click
on the right of the task name to restart the task. - If the source code does not need to be modified, a dialog box is displayed indicating that the operation is successful. The check report page is not displayed.
- If you use shortcut keys to modify the source code, pay attention to shortcut key conflicts caused by the input method or IDE environment.
- If the system displays a message indicating that the task times out, rectify the fault by following instructions in Task Timeout.
Parent topic: Affinity Analyzer


