Rate This Document
Findability
Accuracy
Completeness
Readability

Affinity Analyzer Functions

  • When multiple modules are running concurrently, only one log level can be set at the same time.
  • If tasks are executed concurrently during the initial installation, the log configuration file may fail to be read. In this case, execute the tasks again.

Command Function

Displays the help information about affinity analysis tasks.

Syntax

1
devkit advisor -h

Example

Run the following command to query all the command parameters:

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.
    kfdo                    Run the autofdo compile optimize task.
    dr-check                Run the data race check task.
    precision               Run the precision analysis task.

  See 'devkit advisor TASK -h/--help' for more information on a specific task.
  • 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
  • kfdo: automatic feedback-directed optimization (AutoFDO)
  • dr-check: data race check
  • precision: calculation precision analysis