| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
【PR】: 将Dump和Profiling产物解析文档迁移至example目录 Co-authored-by: fujun19<fujun19@hisilicon.com> # message auto-generated for no-merge-commit merge: !4725 merge docs/move-artifact-analysis-to-example into master 【PR】: 将Dump和Profiling产物解析文档迁移至example目录 Created-by: fujun19 Commit-by: fujun19 Merged-by: cann-robot Description: ## 描述 将 Dump 和 Profiling 产物解析文档从 docs/zh 迁移到对应的 example/5_performance 目录,并补充中英文文档。删除 example/5_performance README 中已失效的产物解读入口,避免继续引用已删除的 docs 路径。 ## 变更类型 - [x] 文档内容更新 ## 关联的Issue 无。 ## 如何测试 1. 检查 Dump、Profiling 中英文产物解析文档均位于 example/5_performance 对应目录。 2. 执行 git diff --check。 ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签 ## 其他信息 无。 See merge request: cann/runtime!4725 | 1 个月前 | |
【PR】: feat:remove all exclude Co-authored-by: duanpengliang<duanpengliang@huawei.com> # message auto-generated for no-merge-commit merge: !4195 merge master_precommit into master 【PR】: feat:remove all exclude Created-by: duanpengliang Commit-by: duanpengliang Merged-by: cann-robot Description: # Pull Request ## 描述 pre-commit example scripts docs,并把这些目录pre-commit排除项给去掉 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [ ] 🐛 Bug 修复 - [ ] ✨ 新功能 - [x] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> ## 如何测试 pre-commit readme docs无新增文件 ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如: feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/runtime!4195 | 2 个月前 | |
【PR】: feat:remove all exclude Co-authored-by: duanpengliang<duanpengliang@huawei.com> # message auto-generated for no-merge-commit merge: !4195 merge master_precommit into master 【PR】: feat:remove all exclude Created-by: duanpengliang Commit-by: duanpengliang Merged-by: cann-robot Description: # Pull Request ## 描述 pre-commit example scripts docs,并把这些目录pre-commit排除项给去掉 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [ ] 🐛 Bug 修复 - [ ] ✨ 新功能 - [x] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> ## 如何测试 pre-commit readme docs无新增文件 ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如: feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/runtime!4195 | 2 个月前 | |
docs: 补充 msTX 样例前置依赖说明(#908) Co-authored-by: xiangyang0909<huxiangyang1@huawei.com> # message auto-generated for no-merge-commit merge: !4642 merge docs/issue-908-mstx-prerequisite into master docs: 补充 msTX 样例前置依赖说明(#908) Created-by: xiangyang0909 Commit-by: xiangyang0909 Merged-by: cann-robot Description: # Pull Request ## 描述 - 为 3_mstx_with_domain 样例补充通用环境安装说明入口。 - 明确样例依赖 CANN Toolkit 中的 msTX 组件,并增加 ${ASCEND_HOME_PATH}/include/mstx/ms_tools_ext.h 检查步骤。 - 补充依赖缺失或升级场景的处理指引及官方安装文档链接,避免将头文件缺失直接判断为 CANN 版本不支持。 - 同步更新中英文样例文档。 本次仅更新样例文档,不修改 Runtime 行为、公共 API/ABI 或构建配置。 ## 变更类型 - [ ] Bug 修复 - [ ] 新功能 - [ ] 代码风格更新 - [ ] 重构 - [ ] 构建过程变动 - [x] 文档内容更新 ## 关联的Issue Closes #908 ## 如何测试 - pre-commit run --show-diff-on-failure --from-ref upstream/master --to-ref HEAD - git diff --check upstream/master...HEAD - 在 CANN Toolkit 9.2.0 aarch64 环境检查 msTX 头文件,并完成 3_mstx_with_domain 样例编译。 - 检查中英文安装、升级及相对链接均可访问。 ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对修改进行了自测 - [x] 本次仅修改相关中英文文档 See merge request: cann/runtime!4642 | 2 个月前 | |
fix: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 (#900) Co-authored-by: zhangjie<zhangjie230@huawei.com> # message auto-generated for no-merge-commit merge: !4933 merge fix-issue-900 into master fix: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 (#900) Created-by: newstarzj Commit-by: zhangjie Merged-by: cann-robot Description: ## 描述 - 修复摘要: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 - 变更文件: - example/5_performance/README.md - example/5_performance/README_en.md - example/5_performance/adump/0_adump_args/CMakeLists.txt - example/5_performance/adump/1_adump_callback/CMakeLists.txt - example/5_performance/adump/2_model_dump_config/CMakeLists.txt - example/5_performance/adump/3_save_exception_info/CMakeLists.txt - example/5_performance/adump/3_save_exception_info/main.cpp - example/5_performance/adump/README.md - example/5_performance/adump/README_en.md - example/5_performance/adump/run.sh - example/5_performance/log/0_acl_log/CMakeLists.txt - example/5_performance/log/0_acl_log/README.md - example/5_performance/log/0_acl_log/README_en.md - example/5_performance/log/0_acl_log/main.cpp - example/5_performance/log/CMakeLists.txt - example/5_performance/log/README.md - example/5_performance/log/README_en.md - example/5_performance/log/run.sh - example/5_performance/profiling/README.md - example/5_performance/profiling/README_en.md - example/5_performance/profiling/run.sh ### Diff 摘要 text (no diff stat) ## 变更类型 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## 关联的Issue https://gitcode.com/cann/runtime/issues/900 ## 如何测试 - 测试结论: PASS - 检测到代码变更文件 12 个: .gitignore, example/5_performance/README.md, example/5_performance/README_en.md, example/5_performance/adump/0_adump_args/CMakeLists.txt, example/5_performance/adump/1_adump_callback/CMakeLists.txt, example/5_performance/adump/2_model_dump_config/CMakeLists.txt, example/5_performance/adump/3_save_exception_info/CMakeLists.txt, example/5_performance/adump/3_save_exception_info/main.cpp ## 核对清单 <!-- [x] 表示选中 --> - [ ] 我的代码遵循了项目的代码风格 - [ ] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [ ] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 ## 风险和遗留问题 - 测试日志未包含明确通过信号 - 测试日志未能映射到 plan 测试计划中的关键输入或命令 See merge request: cann/runtime!4933 | 1 个月前 | |
fix: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 (#900) Co-authored-by: zhangjie<zhangjie230@huawei.com> # message auto-generated for no-merge-commit merge: !4933 merge fix-issue-900 into master fix: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 (#900) Created-by: newstarzj Commit-by: zhangjie Merged-by: cann-robot Description: ## 描述 - 修复摘要: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 - 变更文件: - example/5_performance/README.md - example/5_performance/README_en.md - example/5_performance/adump/0_adump_args/CMakeLists.txt - example/5_performance/adump/1_adump_callback/CMakeLists.txt - example/5_performance/adump/2_model_dump_config/CMakeLists.txt - example/5_performance/adump/3_save_exception_info/CMakeLists.txt - example/5_performance/adump/3_save_exception_info/main.cpp - example/5_performance/adump/README.md - example/5_performance/adump/README_en.md - example/5_performance/adump/run.sh - example/5_performance/log/0_acl_log/CMakeLists.txt - example/5_performance/log/0_acl_log/README.md - example/5_performance/log/0_acl_log/README_en.md - example/5_performance/log/0_acl_log/main.cpp - example/5_performance/log/CMakeLists.txt - example/5_performance/log/README.md - example/5_performance/log/README_en.md - example/5_performance/log/run.sh - example/5_performance/profiling/README.md - example/5_performance/profiling/README_en.md - example/5_performance/profiling/run.sh ### Diff 摘要 text (no diff stat) ## 变更类型 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## 关联的Issue https://gitcode.com/cann/runtime/issues/900 ## 如何测试 - 测试结论: PASS - 检测到代码变更文件 12 个: .gitignore, example/5_performance/README.md, example/5_performance/README_en.md, example/5_performance/adump/0_adump_args/CMakeLists.txt, example/5_performance/adump/1_adump_callback/CMakeLists.txt, example/5_performance/adump/2_model_dump_config/CMakeLists.txt, example/5_performance/adump/3_save_exception_info/CMakeLists.txt, example/5_performance/adump/3_save_exception_info/main.cpp ## 核对清单 <!-- [x] 表示选中 --> - [ ] 我的代码遵循了项目的代码风格 - [ ] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [ ] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 ## 风险和遗留问题 - 测试日志未包含明确通过信号 - 测试日志未能映射到 plan 测试计划中的关键输入或命令 See merge request: cann/runtime!4933 | 1 个月前 | |
【PR】: 将Dump和Profiling产物解析文档迁移至example目录 Co-authored-by: fujun19<fujun19@hisilicon.com> # message auto-generated for no-merge-commit merge: !4725 merge docs/move-artifact-analysis-to-example into master 【PR】: 将Dump和Profiling产物解析文档迁移至example目录 Created-by: fujun19 Commit-by: fujun19 Merged-by: cann-robot Description: ## 描述 将 Dump 和 Profiling 产物解析文档从 docs/zh 迁移到对应的 example/5_performance 目录,并补充中英文文档。删除 example/5_performance README 中已失效的产物解读入口,避免继续引用已删除的 docs 路径。 ## 变更类型 - [x] 文档内容更新 ## 关联的Issue 无。 ## 如何测试 1. 检查 Dump、Profiling 中英文产物解析文档均位于 example/5_performance 对应目录。 2. 执行 git diff --check。 ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签 ## 其他信息 无。 See merge request: cann/runtime!4725 | 1 个月前 | |
【PR】: 将Dump和Profiling产物解析文档迁移至example目录 Co-authored-by: fujun19<fujun19@hisilicon.com> # message auto-generated for no-merge-commit merge: !4725 merge docs/move-artifact-analysis-to-example into master 【PR】: 将Dump和Profiling产物解析文档迁移至example目录 Created-by: fujun19 Commit-by: fujun19 Merged-by: cann-robot Description: ## 描述 将 Dump 和 Profiling 产物解析文档从 docs/zh 迁移到对应的 example/5_performance 目录,并补充中英文文档。删除 example/5_performance README 中已失效的产物解读入口,避免继续引用已删除的 docs 路径。 ## 变更类型 - [x] 文档内容更新 ## 关联的Issue 无。 ## 如何测试 1. 检查 Dump、Profiling 中英文产物解析文档均位于 example/5_performance 对应目录。 2. 执行 git diff --check。 ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签 ## 其他信息 无。 See merge request: cann/runtime!4725 | 1 个月前 | |
fix: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 (#900) Co-authored-by: zhangjie<zhangjie230@huawei.com> # message auto-generated for no-merge-commit merge: !4933 merge fix-issue-900 into master fix: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 (#900) Created-by: newstarzj Commit-by: zhangjie Merged-by: cann-robot Description: ## 描述 - 修复摘要: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 - 变更文件: - example/5_performance/README.md - example/5_performance/README_en.md - example/5_performance/adump/0_adump_args/CMakeLists.txt - example/5_performance/adump/1_adump_callback/CMakeLists.txt - example/5_performance/adump/2_model_dump_config/CMakeLists.txt - example/5_performance/adump/3_save_exception_info/CMakeLists.txt - example/5_performance/adump/3_save_exception_info/main.cpp - example/5_performance/adump/README.md - example/5_performance/adump/README_en.md - example/5_performance/adump/run.sh - example/5_performance/log/0_acl_log/CMakeLists.txt - example/5_performance/log/0_acl_log/README.md - example/5_performance/log/0_acl_log/README_en.md - example/5_performance/log/0_acl_log/main.cpp - example/5_performance/log/CMakeLists.txt - example/5_performance/log/README.md - example/5_performance/log/README_en.md - example/5_performance/log/run.sh - example/5_performance/profiling/README.md - example/5_performance/profiling/README_en.md - example/5_performance/profiling/run.sh ### Diff 摘要 text (no diff stat) ## 变更类型 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## 关联的Issue https://gitcode.com/cann/runtime/issues/900 ## 如何测试 - 测试结论: PASS - 检测到代码变更文件 12 个: .gitignore, example/5_performance/README.md, example/5_performance/README_en.md, example/5_performance/adump/0_adump_args/CMakeLists.txt, example/5_performance/adump/1_adump_callback/CMakeLists.txt, example/5_performance/adump/2_model_dump_config/CMakeLists.txt, example/5_performance/adump/3_save_exception_info/CMakeLists.txt, example/5_performance/adump/3_save_exception_info/main.cpp ## 核对清单 <!-- [x] 表示选中 --> - [ ] 我的代码遵循了项目的代码风格 - [ ] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [ ] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 ## 风险和遗留问题 - 测试日志未包含明确通过信号 - 测试日志未能映射到 plan 测试计划中的关键输入或命令 See merge request: cann/runtime!4933 | 1 个月前 |
profiling
本目录聚焦Profiling的配置创建、msproftx标记以及模型订阅能力。
在 CANN 环境中执行 bash run.sh 可依次运行全部 Profiling 样例。脚本会输出每个样例的成功或失败结果,并在任一样例失败时返回非 0 退出码。
产物解读
Profiling产物路径、解析命令和字段含义请参见Profiling产物解读。
样例列表
- 0_create_config:演示Profiling配置创建、开启和停止采集。
- 1_msproftx:演示msproftx事件标记、嵌套范围和非嵌套范围标记。
- 2_subscribe_model:演示Profiling模型订阅和性能数据获取。
- 3_mstx_with_domain:演示mstx接口在默认domain与自定义domain中打点的使用方式。