| Files | Last commit | Last update |
|---|---|---|
【Profiling】优化执行样例所需冗余步骤 Co-authored-by: chenminghao11<chenminghao11@hisilicon.com> # message auto-generated for no-merge-commit merge: !6077 merge issue2 into master 【Profiling】优化执行样例所需冗余步骤 Created-by: chenminghao11 Commit-by: chenminghao11 Merged-by: cann-robot Description: # Pull Request ## 描述 请清晰准确地描述本次 Pull Request 的意图和变更内容。 优化执行样例所需冗余步骤 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [x] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> https://gitcode.com/cann/runtime/issues/1313 ## 如何测试 描述测试此变更的步骤和前提条件: 1.本地测试 2. ## 核对清单 <!-- [x] 表示选中 --> - [ ] 我的代码遵循了项目的代码风格 - [ ] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [ ] 我在标题中使用了合适的类型标签(如: feat:, fix:) - [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/runtime!6077 | 24 days ago | |
【Profiling】优化执行样例所需冗余步骤 Co-authored-by: chenminghao11<chenminghao11@hisilicon.com> # message auto-generated for no-merge-commit merge: !6077 merge issue2 into master 【Profiling】优化执行样例所需冗余步骤 Created-by: chenminghao11 Commit-by: chenminghao11 Merged-by: cann-robot Description: # Pull Request ## 描述 请清晰准确地描述本次 Pull Request 的意图和变更内容。 优化执行样例所需冗余步骤 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [x] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> https://gitcode.com/cann/runtime/issues/1313 ## 如何测试 描述测试此变更的步骤和前提条件: 1.本地测试 2. ## 核对清单 <!-- [x] 表示选中 --> - [ ] 我的代码遵循了项目的代码风格 - [ ] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [ ] 我在标题中使用了合适的类型标签(如: feat:, fix:) - [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/runtime!6077 | 24 days ago | |
【Profiling】优化执行样例所需冗余步骤 Co-authored-by: chenminghao11<chenminghao11@hisilicon.com> # message auto-generated for no-merge-commit merge: !6077 merge issue2 into master 【Profiling】优化执行样例所需冗余步骤 Created-by: chenminghao11 Commit-by: chenminghao11 Merged-by: cann-robot Description: # Pull Request ## 描述 请清晰准确地描述本次 Pull Request 的意图和变更内容。 优化执行样例所需冗余步骤 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [x] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> https://gitcode.com/cann/runtime/issues/1313 ## 如何测试 描述测试此变更的步骤和前提条件: 1.本地测试 2. ## 核对清单 <!-- [x] 表示选中 --> - [ ] 我的代码遵循了项目的代码风格 - [ ] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [ ] 我在标题中使用了合适的类型标签(如: feat:, fix:) - [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/runtime!6077 | 24 days ago | |
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 months ago | |
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 | 2 months ago | |
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 | 2 months ago | |
【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 | 2 months ago | |
【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 | 2 months ago | |
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 | 2 months ago |
profiling
This directory focuses on Profiling configuration creation, msproftx marking, and model subscription capabilities.
Run bash run.sh in a CANN environment to execute all Profiling samples in sequence. The script reports the result of each sample and returns a non-zero status if any sample fails.
Artifact Analysis
For the complete Profiling artifact analysis, see Profiling artifact analysis.
Sample List
- 0_create_config: Demonstrates Profiling configuration creation, starting and stopping collection.
- 1_msproftx: Demonstrates msproftx event marking, nested range marking, and non-nested range marking.
- 2_subscribe_model: Demonstrates Profiling model subscription and performance data retrieval.
- 3_mstx_with_domain: Demonstrates the usage of mstx interfaces for marking in default domain and custom domain.