已合并
[doc]: Fix the error of the file name and fix the format error in the document. #1154
jarayard创建于 2025年6月12日
[doc]: Fix the error of the file name and fix the format error in the document. #1154
已合并
共 1 个文件变更+2-2
Rdocs/rnoh-maintainers/performace-analysis-instructions.md→docs/rnoh-maintainers/performance-analysis-instructions.md+2-2
| @@ -12,7 +12,7 @@ To run trace on an tester application do the following | |||
| 12 | - the trace decomposition should now be visible in the browser | 12 | - the trace decomposition should now be visible in the browser |
| 13 | 13 | ||
| 14 | ## Adding custom trace sections | 14 | ## Adding custom trace sections |
| 15 | -1. You can use Systrace Turbomodule to trace some actions from ArkTS side: | 15 | +1. You can use Systrace TurboModule to trace some actions from ArkTS side: |
| 16 | ```ts | 16 | ```ts |
| 17 | Systrace.beginTrace('Some event I want to trace'); | 17 | Systrace.beginTrace('Some event I want to trace'); |
| 18 | // do some expensive calculations | 18 | // do some expensive calculations |
| @@ -92,7 +92,7 @@ To trace some variable changes you may use: | |||
| 92 | ``` | 92 | ``` |
| 93 | Systrace.counterEvent('SOME_VARIABLE', 1000) | 93 | Systrace.counterEvent('SOME_VARIABLE', 1000) |
| 94 | ``` | 94 | ``` |
| 95 | -To later get those changes simply open htrace data in SmartPerf tool (but search tool will not show you correct results, simply use cmd + f in browser to find right row). | 95 | +To later get those changes simply open htrace data in SmartPerf tool (but search tool will not show you correct results, simply use `Ctrl + F (Windows/Linux)` or `Cmd + F (Mac)` in browser to find right row). |
| 96 | However you can also use more primitive tool (which will give you text output): | 96 | However you can also use more primitive tool (which will give you text output): |
| 97 | ```sh | 97 | ```sh |
| 98 | hdc shell | 98 | hdc shell |