我要评分
获取效率
正确性
完整性
易理解

Affinity Analyzer Functions

The tool checks software code to improve code quality and memory access performance.

  • When multiple modules are running concurrently, only one log level can be set at the same time.
  • If you move the tool to another location after you have already used the tool, a log configuration file read error occurs. You need to reinstall the tool or move the tool to its original installation location.

Command Function

Displays the help information about affinity analysis tasks.

Syntax

1
devkit advisor -h

Example

Run the following command to query all the parameter descriptions:

1
devkit advisor -h

Command output:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
  Usage: devkit advisor [-h|--help] TASK [ARGS]

  The most commonly used devkit advisor sub tasks are:
    run-mode                Run the 64-bit running mode check task.
    addr-align              Run the address alignment of the structure task.
    cacheline               Run the cache line alignment check task.
    bc-gen                  Run the bc file generation task.
    mm-check                Run the memory mode check task.
    vec-check               Run the vectorization check task.
    affi-check              Run the affinity check task.
    matrix-check            Run the matricization check task.
    dr-check                Run the data race check task.
    precision               Run the precision analysis task.
    knet                    Run the K-NET analysis tools task.

  See 'devkit advisor TASK -h/--help' for more information on a specific task.
Table 1 Function description

Function

Description

run-mode

64-bit running mode check

addr-align

Byte alignment check

cacheline

Cache line alignment check

bc-gen

BC file generation

mm-check

Memory consistency check

vec-check

Vectorization check

affi-check

Build affinity

matrix-check

Matricization check

dr-check

Data race check

precision

Calculation precision analysis

knet

K-NET data collection and analysis