Common Operations
- System Settings
The default run log levels for the Affinity Analyzer follow the configuration specified in General Settings > System Settings. If you need to adjust the run log levels, perform the following operations: - Configuring Alarm Thresholds for Historical Reports
The threshold for historical reports can be customized for the Affinity Analyzer. During system running, a large number of reports or files occupy certain drive space. Once a threshold is exceeded, the system displays a message or disables the corresponding function. - Identifying Compile Commands Using the Build Tool Configuration File
- Using the Auto Repair by Compiler
- Generating a BC File
A bitcode (BC) file is an intermediate representation (IR) binary generated by compiling source code using Low Level Virtual Machine (LLVM). It contains intermediate code for program compilation and is more compact and efficient than the source file. Based on the LLVM framework, the Kunpeng DevKit uses BC files to improve the program analysis efficiency and accuracy. - Generating a JSON File
The compile_commands.json file is a JSON file that specifies the mapping between compiler command line options and source files. It is used by many code editors and tools for code completion, syntax check, and code navigation. - Suggestions for Vectorizing Source Code
Parent topic: Affinity Analyzer (VS Code)