亲和分析功能说明
支持软件代码质量检查,提升代码质量、优化访存性能。
 - 多模块并发时,不支持同时设置不同的日志级别。
 - 安装并使用工具后,如果移动工具位置,会出现日志配置文件读取错误,需要重新安装工具或将工具移动到原来的位置才能继续使用。
 
命令功能
查看亲和分析支持任务的帮助信息。
命令格式
1 | devkit advisor -h  | 
使用示例
执行以下命令,查看所有命令参数说明。
1 | devkit advisor -h  | 
返回信息如下:
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.  | 
功能  | 
说明  | 
|---|---|
run-mode  | 
|
addr-align  | 
|
cacheline  | 
|
bc-gen  | 
生成BC文件。  | 
mm-check  | 
|
vec-check  | 
向量化检查。  | 
affi-check  | 
构建亲和。  | 
matrix-check  | 
矩阵化检查。  | 
dr-check  | 
数据竞争检查。  | 
precision  | 
计算精度分析。  | 
knet  | 
K-NET数据采集分析。  | 
父主题: 亲和分析